]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
apparmor: fix rawdata_f_data implicit flex array
authorJohn Johansen <john.johansen@canonical.com>
Sun, 1 Mar 2026 20:24:06 +0000 (12:24 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Sun, 14 Jun 2026 03:14:07 +0000 (20:14 -0700)
commitad213bbbc0e3e270ce7df2d9d80d4ce3826993d7
tree9b2317058c716da880c8dbaae0becf441aa5cc8e
parent1adefbd0d5f5a2dafb3f1ee4537dc1db69fb29d4
apparmor: fix rawdata_f_data implicit flex array

rawdata_f_data has a blob of data that is allocated at its end but
not explicitly declared. Makes sure it is correctly declared as a
flex_rray.

Fixes: 63c16c3a76085 ("apparmor: Initial implementation of raw policy blob compression")
Reviewed-by: Georgia Garcia <georgia.garcia@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/apparmorfs.c