]> granicus.if.org Git - file/commit
when the pattern search length is 0, search for the empty string instead
authorChristos Zoulas <christos@zoulas.com>
Tue, 20 Dec 2016 12:19:25 +0000 (12:19 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 20 Dec 2016 12:19:25 +0000 (12:19 +0000)
commit75aefaab4dafb41576260bd1e224d662eee2a292
tree82afa0b79b90fd8ecf6b236f1c7b4acb11fe9e27
parent8f3da601845253629efdda72f9341ed9762b3f2d
when the pattern search length is 0, search for the empty string instead
of the original string because the original string might not be NUL-terminated.
Found by oss-fuzzer.
src/softmagic.c