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

Opened 7 years ago

Closed 7 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:

Description

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 7 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.