You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file in_dxf.c, function add_ent_preview() invokes the calloc() function with an invalid value when a specific input is provided (0x7fffffffffffffff with the attached input).
To Reproduce
Due to size constraints of this report, the archive we used to perform our tests is available at this link, and it contains:
the executable on which we performed our tests
the input file that caused the bug
the output of ASan confirming our finding
To reproduce the errors, simply run the given binary on the provided testcase files with a command like ./llvmfuzz /path_to_testcases/input
The program has been tested on the OSS-Fuzz Docker image for this project using Ubuntu 20.04.During the compilation,we compiled using Address Sanitizer using the flag --sanitizer=address.
The hash commit used to perform the tests is 27118c4.
Environment
OS: Linux
Version/Distribution: Ubuntu 20.04
Architecture: x86_64
The text was updated successfully, but these errors were encountered:
Harmless. If the calloc fails due to an overlarge user-input value, it fails with an Out of memory error.
But I fail now earlier when the size is > INTMAX_MAX.
And we only need the failing input file and cmdline to reproduce for the next time.
esp. for asan: allocation-size-too-big
which is harmless, but throws a better error msg in add_ent_preview for a BLL.
Fixes GH #1006, fuzzing DXF input
Describe the bug
In file in_dxf.c, function
add_ent_preview()
invokes thecalloc()
function with an invalid value when a specific input is provided (0x7fffffffffffffff
with the attached input).To Reproduce
Due to size constraints of this report, the archive we used to perform our tests is available at this link, and it contains:
To reproduce the errors, simply run the given binary on the provided testcase files with a command like
./llvmfuzz /path_to_testcases/input
The program has been tested on the OSS-Fuzz Docker image for this project using Ubuntu 20.04.During the compilation,we compiled using Address Sanitizer using the flag
--sanitizer=address
.The hash commit used to perform the tests is
27118c4
.Environment
The text was updated successfully, but these errors were encountered: