parse_notes relies on the caller-supplied callback to initialize "res".
Two callbacks are used in practice, brandnote_cb and note_fctl_cb, and
the latter fails to initialize res. Try to fix it.
Reported by: KMSAN
Differential D29986
imgact_elf: Ensure that the return value in parse_notes is initialized markj on Apr 25 2021, 11:50 PM. Authored by Tags None Referenced Files
Subscribers
Details parse_notes relies on the caller-supplied callback to initialize "res". Reported by: KMSAN
Diff Detail
Event TimelineComment Actions I.e. the only effect of this was that the inner loop from check_note potentially did not stopped after fctl note was handled, but continued till the end of the phdrs. |