Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment