Skip to content
Commit 8e4cdd22 authored by Andreas Färber's avatar Andreas Färber
Browse files

fiptool: Fix use after free



Commit 880b9e8b (Add padding at the end
of the last entry) added code using toc_entry pointer, whose memory is
already freed via variable buf. This causes enormous padding on openSUSE.

Free the memory buffer only after padding is done.

Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
parent f478253d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment