2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-28 04:58:04 +00:00
bind/cocci/memcpy.spatch

15 lines
152 B
Plaintext
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);