summaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-04-02 19:48:23 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2025-04-03 19:11:43 +0300
commit39ebd74864f5c4f7d44f1fe026c71a270631186b (patch)
treea63472ea0eef21e50c58773e9f52dfe5b0c8bb8d /lib/test_fortify/write_overflow-strncpy.c
parent83d539b1b04705f972b53b4669fb587c54def0db (diff)
downloadlinux-39ebd74864f5c4f7d44f1fe026c71a270631186b.tar.xz
bcachefs: Fix null ptr deref in invalidate_one_bucket()
bch2_backpointer_get_key() returns bkey_s_c_null when the target isn't found. backpointer_get_key() flags the error, so there's nothing else to do here - just skip it and move on. Link: https://github.com/koverstreet/bcachefs/issues/847 Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions