Labels
bug
Bug in the code (not in a table)
memory error
Buffer overflow, use after free, memory leak, ...
You can’t perform that action at this time.
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.
When long path is given to API
lou_setDataPath(), there will be a global-buffer-overflow.Similar to #1291, because liblouis does not check the input length.
liblouis/liblouis/compileTranslationTable.c
Lines 58 to 62 in 63722f0
Test Environment
Ubuntu 16.04.3 LTS
liblouis (master, 6223f21)
How to trigger
$ clang -g -fsanitize=address,fuzzer ./driver-API-6223f21-lou_setDataPath-BO.c ./bin_asan/lib/liblouis.a -I ./bin_asan/include/liblouis/ -o driver-API-6223f21-lou_setDataPath-BO$ ./driver-API-6223f21-lou_setDataPath-BO poc-API-6223f21-lou_setDataPath-BOASAN report
The text was updated successfully, but these errors were encountered: