![Theo Buehler](/assets/img/avatar_default.png)
If conn == NULL or display == NULL, init_dpi() jumps to init_dpi_end before (declaring and) initializing resource. In init_dpi_end, there is a free(resource) call conditionally on resource != NULL, so this may lead to a bogus free. Found by clang -Wsometimes-uninitialized.
…
…
…
…
…
…
…
…
Description
No description provided
Languages
C
58.4%
Perl
36%
Raku
2.6%
Ruby
1.2%
Shell
0.7%
Other
1.1%