bind9/cocci/memcpy.spatch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
152 B
Text
Raw Normal View History

@has_string_h@
@@
#include <string.h>
@depends on has_string_h@
expression D;
expression S;
expression N;
@@
- memcpy(D, S, N);
+ memmove(D, S, N);