[llvm-bugs] [Bug 25746] New: libFuzzer generated fuzzer does not properly generate base64 encoded output on Android 6.0
llvm-bugs at lists.llvm.org
Fri Dec 4 13:18:37 PST 2015
Bug ID: 25746
Summary: libFuzzer generated fuzzer does not properly generate
base64 encoded output on Android 6.0
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: danielaustin at google.com
CC: llvm-bugs at lists.llvm.org
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.
-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.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs