Opened 12 years ago

Closed 12 years ago

#408 closed bug (fixed)

buffer overrun in dummy help browser

Reported by: brlink@… Owned by: somebody
Priority: minor Milestone: 3-1-4 and higher
Component: singular-kernel Version: 3-1-3
Keywords: Cc:


the internal help browser segfaults when viewing the help and scrolling some pages down, if compiled with hardening cflags (-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2).

Increasing the the buffer len as in the attached patch avoid this issue for now.

Attachments (1)

0001-avoid-segfault-in-internal-help-parser.patch (827 bytes) - added by anonymous 12 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 Changed 12 years ago by hannes

Resolution: fixed
Status: newclosed

Thanks for the patch: the buffer in question is part of another buffer of size 256, so a size of 256 should be enough.

Note: See TracTickets for help on using tickets.