summaryrefslogtreecommitdiff
path: root/fs/binfmt_script.c
diff options
context:
space:
mode:
authorAlan Huang <mmpgouride@gmail.com>2025-05-02 04:01:31 +0800
committerKent Overstreet <kent.overstreet@linux.dev>2025-05-05 09:41:26 -0400
commit3f105630c0b2e53a93713c2328e3426081f961c1 (patch)
tree0672b87d25aaee0a189ba4dcac816db966383f28 /fs/binfmt_script.c
parent1a7a2300e0dd8b4a73bcd3777a2947fe42a16bef (diff)
bcachefs: Remove incorrect __counted_by annotationbcachefs-for-6.12-2025-05-5bcachefs-for-v6.12
This actually reverts 86e92eeeb237 ("bcachefs: Annotate struct bch_xattr with __counted_by()"). After the x_name, there is a value. According to the disscussion[1], __counted_by assumes that the flexible array member contains exactly the amount of elements that are specified. Now there are users came across a false positive detection of an out of bounds write caused by the __counted_by here[2], so revert that. [1] https://lore.kernel.org/lkml/Zv8VDKWN1GzLRT-_@archlinux/T/#m0ce9541c5070146320efd4f928cc1ff8de69e9b2 [2] https://privatebin.net/?a0d4e97d590d71e1#9bLmp2Kb5NU6X6cZEucchDcu88HzUQwHUah8okKPReEt (cherry picked from commit 6846100b00d97d3d6f05766ae86a0d821d849e78) Signed-off-by: Alan Huang <mmpgouride@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/binfmt_script.c')
0 files changed, 0 insertions, 0 deletions