diff options
author | Simon Bünzli <zeniko@gmail.com> | 2014-07-18 15:09:00 +0200 |
---|---|---|
committer | Simon Bünzli <zeniko@gmail.com> | 2014-07-18 15:09:00 +0200 |
commit | ef1138c1b6036061df1c82970db9991713bed987 (patch) | |
tree | c698aa3b132ee34a3c7b6d85cb13a9a1b08cb504 /source/fitz/filter-basic.c | |
parent | 126d1639c94fe97e2fc3f849279640ad78bc379d (diff) | |
download | mupdf-ef1138c1b6036061df1c82970db9991713bed987.tar.xz |
prevent buffer overflow in cbz_strnatcmp
If the two arguments to cbz_strnatcmp are equal (except for leading
zeros), cbz_strnatcmp reads beyond the buffer until it finds differing
bytes or enters a non-readable memory page.
TODO: Should sorting "test01" and "test1" lead to a stable sort order?
Diffstat (limited to 'source/fitz/filter-basic.c')
0 files changed, 0 insertions, 0 deletions