summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f420de0)
Spotted by Nalin Dahyabhai <nalin@redhat.com>
if ((s->session == NULL) || (ds == NULL) ||
(enc == NULL))
{
if ((s->session == NULL) || (ds == NULL) ||
(enc == NULL))
{
- memcpy(rec->data,rec->input,rec->length);
+ memmove(rec->data,rec->input,rec->length);
rec->input=rec->data;
}
else
rec->input=rec->data;
}
else
if ((s->session == NULL) || (ds == NULL) ||
(enc == NULL))
{
if ((s->session == NULL) || (ds == NULL) ||
(enc == NULL))
{
- memcpy(rec->data,rec->input,rec->length);
+ memmove(rec->data,rec->input,rec->length);
rec->input=rec->data;
}
else
rec->input=rec->data;
}
else