]> www.infradead.org Git - users/jedix/linux-maple.git/commit
isofs: Annotate struct SL_component with __counted_by()
authorThorsten Blum <thorsten.blum@toblux.com>
Fri, 30 Aug 2024 16:49:03 +0000 (18:49 +0200)
committerJan Kara <jack@suse.cz>
Mon, 2 Sep 2024 13:52:56 +0000 (15:52 +0200)
commit116249b12939a8ec13eb50f36b6fffd1c719a9ed
tree141fc26a3a4538e1e5e4861e96d072d085813231
parentedb46ddbc55e53eef3d6e575087baa315598d253
isofs: Annotate struct SL_component with __counted_by()

Add the __counted_by compiler attribute to the flexible array member
text to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
CONFIG_FORTIFY_SOURCE.

Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20240830164902.112682-2-thorsten.blum@toblux.com
fs/isofs/rock.h