Skip to content
Commit 2e118ba3 authored by Tavian Barnes's avatar Tavian Barnes Committed by Kent Overstreet
Browse files

bcachefs: darray: Don't pass NULL to memcpy()



memcpy's second parameter must not be NULL, even if size is zero.

Signed-off-by: default avatarTavian Barnes <tavianator@tavianator.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent efb2018e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment