summaryrefslogtreecommitdiff
path: root/source/fitz/load-jxr.c
diff options
context:
space:
mode:
authorSimon Bünzli <zeniko@gmail.com>2014-07-18 15:09:00 +0200
committerSimon Bünzli <zeniko@gmail.com>2014-07-18 15:09:00 +0200
commitef1138c1b6036061df1c82970db9991713bed987 (patch)
treec698aa3b132ee34a3c7b6d85cb13a9a1b08cb504 /source/fitz/load-jxr.c
parent126d1639c94fe97e2fc3f849279640ad78bc379d (diff)
downloadmupdf-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/load-jxr.c')
0 files changed, 0 insertions, 0 deletions