Ticket #56196: HighSierra-util_fluxbox-remote.cc-nullptr.patch
File HighSierra-util_fluxbox-remote.cc-nullptr.patch, 455 bytes (added by ballapete (Peter "Pete" Dyballa), 7 years ago) |
---|
-
util/fluxbox-remote.cc
old new 73 73 if (strcmp(cmd, "result") == 0) { 74 74 XTextProperty text_prop; 75 75 if (XGetTextProperty(disp, root, &text_prop, atom_result) != 0 76 && text_prop.value > 076 && text_prop.value != nullptr 77 77 && text_prop.nitems > 0) { 78 78 79 79 printf("%s", text_prop.value);