Exploit databaseDownload repository ZIP
GH-50ee80e26410ce498b284a1b3270f257
enessar/libpng_oss-fuzz
Sources for CVE-2014-9495
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files18
enessar/libpng_oss-fuzzRevision 2551075e8ed1
- ↑..Parent directory
- contrib/
- png.c.html
- png.h.html
- pngdebug.h.html
- pngerror.c.html
- pngget.c.html
- pnglibconf.h.html
- pngmem.c.html
- pngprefix.h.html
- pngpriv.h.html
- pngread.c.html
- pngrio.c.html
- pngrtran.c.html
- pngrutil.c.html
- pngset.c.html
- pngstruct.h.html
- pngtrans.c.html
- report.html
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
part1/report/w_corpus/linux/src/libpng/report.html
HTML · 8,873 bytes<!doctype html>
<html>
<head>
<meta name='viewport' content='width=device-width,initial-scale=1'>
<meta charset='UTF-8'>
<link rel='stylesheet' type='text/css' href='../../../style.css'>
<!-- Custom style overrides -->
<style>
/* Copyright 2018 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
th, td {
padding: 5px 16px;
}
tbody td, tfoot td {
font-size: 14px;
}
thead th {
font-size: 16px;
}
thead th, tfoot td {
background-color: #f5f5f5;
border-left: 1px solid #e4e4e4;
border-right: 1px solid #e4e4e4;
color: #484848;
text-transform: uppercase;
}
tbody tr:hover td, tfoot tr:hover td {
background-color: #f5f5f5;
border-color: #e4e4e4 !important;
}
</style>
</head>
<body>
<h2>Coverage Report</h2>
<p>
View results by:
<a href='../../directory_view_index.html'>Directories</a>
| <a href='../../file_view_index.html'>Files</a>
</p>
<div class='centered'><table>
<thead>
<tr>
<th class="column-entry-bold">Path</th>
<th class="column-entry-bold" onclick="sortTable(SORT_COLUMN.LINE)" title=
"Line coverage is the percentage of code lines which have been executed at least once. Only executable lines within function bodies are considered to be code lines.">
Line Coverage
</th>
<th class="column-entry-bold" onclick="sortTable(SORT_COLUMN.FUNCTION)" title=
"Function coverage is the percentage of functions which have been executed at least once. A function is considered to be executed if any of its instantiations are executed.">
Function Coverage
</th>
<th class="column-entry-bold" onclick="sortTable(SORT_COLUMN.REGION)" title=
"Region coverage is the percentage of code regions which have been executed at least once. A code region may span multiple lines (e.g in a large function body with no control flow). However, it's also possible for a single line to contain multiple code regions (e.g in 'return x || y && z').">
Region Coverage
</th>
</tr>
</thead>
<tbody>
<tr class="light-row">
<td>
<pre><a href='contrib/report.html'>contrib/</a></pre>
</td>
<td class='column-entry-yellow'>
<pre> 87.93% (102/116)</pre>
</td>
<td class='column-entry-green'>
<pre>100.00% (5/5)</pre>
</td>
<td class='column-entry-red'>
<pre> 59.33% (124/209)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='png.c.html'>png.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 43.33% (737/1701)</pre>
</td>
<td class='column-entry-red'>
<pre> 57.58% (38/66)</pre>
</td>
<td class='column-entry-red'>
<pre> 42.89% (621/1448)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='pngerror.c.html'>pngerror.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 55.26% (210/380)</pre>
</td>
<td class='column-entry-red'>
<pre> 70.37% (19/27)</pre>
</td>
<td class='column-entry-red'>
<pre> 51.13% (158/309)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='pngget.c.html'>pngget.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 3.50% (26/742)</pre>
</td>
<td class='column-entry-red'>
<pre> 2.78% (2/72)</pre>
</td>
<td class='column-entry-red'>
<pre> 3.00% (26/866)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='pngmem.c.html'>pngmem.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 79.28% (88/111)</pre>
</td>
<td class='column-entry-yellow'>
<pre> 84.62% (11/13)</pre>
</td>
<td class='column-entry-red'>
<pre> 75.96% (79/104)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='pngread.c.html'>pngread.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 28.36% (638/2250)</pre>
</td>
<td class='column-entry-red'>
<pre> 47.37% (18/38)</pre>
</td>
<td class='column-entry-red'>
<pre> 27.80% (609/2191)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='pngrio.c.html'>pngrio.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 78.57% (11/14)</pre>
</td>
<td class='column-entry-green'>
<pre>100.00% (2/2)</pre>
</td>
<td class='column-entry-red'>
<pre> 70.00% (7/10)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='pngrtran.c.html'>pngrtran.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 30.17% (1025/3397)</pre>
</td>
<td class='column-entry-red'>
<pre> 52.08% (25/48)</pre>
</td>
<td class='column-entry-red'>
<pre> 32.38% (694/2143)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='pngrutil.c.html'>pngrutil.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 73.31% (1912/2608)</pre>
</td>
<td class='column-entry-yellow'>
<pre> 93.22% (55/59)</pre>
</td>
<td class='column-entry-red'>
<pre> 29.12% (1953/6707)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='pngset.c.html'>pngset.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 53.03% (587/1107)</pre>
</td>
<td class='column-entry-red'>
<pre> 48.98% (24/49)</pre>
</td>
<td class='column-entry-red'>
<pre> 54.13% (511/944)</pre>
</td>
</tr>
<tr class="light-row">
<td>
<pre><a href='pngtrans.c.html'>pngtrans.c</a></pre>
</td>
<td class='column-entry-red'>
<pre> 8.67% (36/415)</pre>
</td>
<td class='column-entry-red'>
<pre> 19.05% (4/21)</pre>
</td>
<td class='column-entry-red'>
<pre> 12.01% (37/308)</pre>
</td>
</tr>
</tbody>
<tfoot>
<tr class="light-row-bold">
<td>
<pre>Totals</pre>
</td>
<td class='column-entry-red'>
<pre> 41.83% (5372/12841)</pre>
</td>
<td class='column-entry-red'>
<pre> 50.75% (203/400)</pre>
</td>
<td class='column-entry-red'>
<pre> 31.62% (4819/15239)</pre>
</td>
</tr>
</tfoot>
</table>
<script>
const SORT_COLUMN = {
LINE: 2,
FUNCTION: 3,
REGION: 4,
}
const SORT_TYPES = {
UNSET: -1,
PERCENT: 0,
AGGREGATE: 1,
}
var SORT_ORDER = {
[SORT_COLUMN.LINE]: [SORT_TYPES.UNSET],
[SORT_COLUMN.FUNCTION]: [SORT_TYPES.UNSET],
[SORT_COLUMN.REGION]: [SORT_TYPES.UNSET],
}
function sortTable(columnNumber) {
SORT_ORDER[columnNumber] = ++SORT_ORDER[columnNumber] % 2;
let columnSortOrder = SORT_ORDER[columnNumber];
let tbody = document.getElementsByTagName("tbody")[0];
[].slice.call(tbody.rows).sort(function(a, b) {
let aColumn = a.cells[columnNumber-1].textContent;
let bColumn = b.cells[columnNumber-1].textContent;
let aColumnCompare, bColumnCompare;
if (columnSortOrder == SORT_TYPES.PERCENT) {
aColumnCompare = parseFloat(/([0-9.]+)%/.exec(aColumn)[1]);
bColumnCompare = parseFloat(/([0-9.]+)%/.exec(bColumn)[1]);
} else {
aColumnCompare = parseInt(/\/(\d+)/.exec(aColumn)[1]);
bColumnCompare = parseInt(/\/(\d+)/.exec(bColumn)[1]);
}
return (
aColumnCompare < bColumnCompare ? -1:
aColumnCompare > bColumnCompare ? 1 : 0);
}).forEach(function(value, index) {
tbody.appendChild(value);
});
}
</script> </div>
</body>
</html>