#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:
Has a Patch: yes 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 22 months ago.

Download all attachments as: .zip

Change History (3)

comment:1 by ohnx56, 22 months ago

Has a Patch: set

comment:2 by waddlesplash, 22 months ago

Resolution: fixed
Status: newclosed

Applied in hrev51728. Thanks!

Note: See TracTickets for help on using tickets.