Commit b50f7845 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

sip_util.c: sip_aor_strip() now uses memmove() when copying overlapping strings.

darcs-hash:20060907130812-65a35-6fccf6d4a8ec98d13781dce13d8f3ef8163b291a.gz
parent 3c788055
......@@ -809,7 +809,7 @@ int sip_aor_strip(url_t *url)
if (d != url->url_params)
d++;
if (s != d)
memcpy(d, s, n + 1);
memmove(d, s, n + 1);
}
d += n;
}
......
Markdown is supported
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