aaaaaa123456789 / libplum

Image-handling library that allows reading and writing common image file formats
The Unlicense
11 stars 6 forks source link

use-after-free in attach_allocator_node #9

Closed DarkRTA closed 1 year ago

DarkRTA commented 1 year ago

Bug reported by the clang static analyzer.

build_libplum.c.html.txt

aaaaaa123456789 commented 1 year ago

No bug: this is making assumptions that are mutually incompatible. Considering this is the "regular" flow for generating a BMP file with a palette, any test with valgrind would uncover a bug here, and none is found.

Thanks for the help, though.