Skip to content

Commit 452276e

Browse files
[libc] Fix missing errno include in fuzzer (#144132)
The printf parser uses errno for setting up the %m conversion. It was presumably getting this include indirectly until a recent change. This patch adds a direct dependency to fix it.
1 parent 92a116c commit 452276e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libc/fuzzing/stdio/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ add_libc_fuzzer(
44
printf_parser_fuzz.cpp
55
DEPENDS
66
libc.src.stdio.printf_core.parser
7+
libc.src.errno.errno # needed for the strerror conversion
78
)
89

910
add_libc_fuzzer(

0 commit comments

Comments
 (0)