Follow-up Comment #4, bug #67589 (group screen): *cur->w_next* is only dereferenced when *flags & 4*, isn't it?
If I undertand it correctly, including *flags & 8* unnecessarily returns an
empty string even when the loop starts at *first_window* and can safely
process/render the window list.
Checking *(flags & 4) && !cur* targets the actual NULL pointer dereference
witohut breaking valid *flags & 8* case.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67589>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
