From: Veronika H. <no...@gi...> - 2021-11-30 11:05:55
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: c79a499a4082146792511d425d2fba66c211fc51 https://github.com/OpenSC/OpenSC/commit/c79a499a4082146792511d425d2fba66c211fc51 Author: Veronika Hanulikova <vha...@re...> Date: 2021-11-30 (Tue, 30 Nov 2021) Changed paths: M src/tests/fuzzing/fuzz_scconf_parse_string.c Log Message: ----------- fuzz_scconf_parse_string: Limit maximum size of input data Too long input is not necessary for parser testing. Huge test cases containing mostly opening brackets caused stack-overflow while freeing the memory of chained blocks. Test case containing a too-long list of values caused timeout. Thanks oss-fuzz https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40676 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41434 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41450 |