[apparmor] [PATCH] apparmor: aa_getprocattr free procattr leak on format failure
Zygmunt Krynicki
me at zygoon.pl
Mon May 4 16:17:05 UTC 2026
W dniu 4.05.2026 o 18:13 Tyler Hicks pisze:
>> FLAG_HIDDEN_UNCONFINED);
>> if (len < 0) {
>> + kfree(*string);
>> + *string = NULL;
>
> Upstream doesn't have this call to kfree(). Did you create this patch
> from an Ubuntu kernel tree?
The kfree is coming from my patch.
I think those are all against recent (at most weekend away) upstream master.
Best regards
ZK
More information about the AppArmor
mailing list