<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - libFuzzer generated fuzzer does not properly generate base64 encoded output on Android 6.0"
href="https://llvm.org/bugs/show_bug.cgi?id=25746">25746</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>libFuzzer generated fuzzer does not properly generate base64 encoded output on Android 6.0
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>danielaustin@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>In llvm/llvm/lib/Fuzzer/FuzzerIO.cpp, PrintFileAsBase64 assumes that the system
under test is using a base64 utility which acts the same manner as the GNU
coreutils base64. On android 6.0, the base64 utility does not accept -w 0 as
valid, and fails with output:
Base64: usage: base64 [-di] [-w COLUMNS] [FILE...]
Encode or decode in base64.
-d decode
-i ignore non-alphabetic characters
-w wrap output at COLUMNS (default 76)
base64: -w < 1
This occurs upon generating a crashing test case, after the binary file is
output, and does not affect the binary file.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>