diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-04-29 18:29:29 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-09-22 14:11:16 -0700 |
commit | a21e7bcf0ca3d8c1605b2721a545440260870438 (patch) | |
tree | eacd1e0c32ad92d9e90bc37b367ce17eeab79555 | |
parent | 2fa554b01ef6079a9b35df9332bdc4f139ed67e0 (diff) |
test: Add test case for CVE-2023-43789 (corrupt colormap info)
Generated by clang's -fsanitize/libfuzzer
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | test/pixmaps/README.md | 3 | ||||
-rw-r--r-- | test/pixmaps/invalid/corrupt-colormap.xpm | bin | 0 -> 156 bytes |
2 files changed, 3 insertions, 0 deletions
diff --git a/test/pixmaps/README.md b/test/pixmaps/README.md index f51af00..4f2cbae 100644 --- a/test/pixmaps/README.md +++ b/test/pixmaps/README.md @@ -58,6 +58,9 @@ return XpmFileInvalid when parsed. - zero-width.xpm & zero-width-v1.xpm - These files declare a width of 0 and a height of nearly UINT_MAX, to test for CVE-2022-44617 +- corrupt-colormap.xpm - This file was generated by the clang libfuzzer, + and serves as a test for CVE-2023-43789 + no-mem ------ diff --git a/test/pixmaps/invalid/corrupt-colormap.xpm b/test/pixmaps/invalid/corrupt-colormap.xpm Binary files differnew file mode 100644 index 0000000..46cd738 --- /dev/null +++ b/test/pixmaps/invalid/corrupt-colormap.xpm |