Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 10 years ago

Closed 10 years ago

#499 closed defect (fixed)

Stack overflow in libclui

Reported by: Jiří Zárevúcky Owned by:
Priority: critical Milestone: 0.6.0
Component: helenos/lib/other Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:


In tinput.c:106, an array is allocated on stack that is larger than the entire page allocated for stack.
The solution is simply to allocate the array using malloc().

Change History (1)

comment:1 Changed 10 years ago by Jakub Jermář

Component: helenos/unspecifiedhelenos/lib/other
Resolution: fixed
Status: newclosed

Fixed in mainline,1693.

Note: See TracTickets for help on using tickets.