Rare SEGV (null pointer deref) possible in main()
Xfig is a diagramming tool
Brought to you by:
tklxfiguser
The XGetWMHints() function is can return NULL under some conditions (see below). But there is no NULL-check before the return value is used, leading to a SEGV (null pointer deref):
For reference, the relevant libx11 source code for XGetWMHints():
Thank you, mended with commit [ec49cd].
Related
Commit: [ec49cd]