Opened 6 years ago

Closed 6 years ago

#13924 closed enhancement (fixed)

mkdos: Handle memory allocation better

Reported by: ohnx56 Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: File Systems/FAT Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

In the kernel and command-line tool, don't leak allocated memory, even if the tool returns an error.

In the command-line tool, also handle memory allocation errors nicely by giving the user an OOM message if allocation fails.

Fixes CID 1425367 and 1425224.

Attachments (1)

0001-mkdos-Handle-memory-allocation-better.patch (2.5 KB ) - added by ohnx56 6 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by ohnx56, 6 years ago

patch: 01

comment:2 by waddlesplash, 6 years ago

Resolution: fixed
Status: newclosed

Applied in hrev51728. Thanks!

Note: See TracTickets for help on using tickets.