Ticket #46 (new defect)

Opened 7 months ago

Do not use stack-allocated arrays in FS code

Reported by: dave Owned by: sam
Priority: critical Milestone: NxOS 0.2
Component: baseplate Version:
Keywords: Cc:

Description

NxOS has a very small non-extensible stack. Large arrays are allocated on the stack in several places in the FS library, which may cause hard to detect overflow corruptions. These buffers should be removed if possible, or replaced by pointers passed in by client code (which may use other methods such as a heap allocator to safely allocate the arrays).

Note: See TracTickets for help on using tickets.