URL:
<http://savannah.gnu.org/bugs/?27224>
Summary: memcpy in GSMime
Project: GNUstep
Submitted by: mguesdon
Submitted on: mar 11 aoû 2009 18:08:08 CEST
Category: Base/Foundation
Severity: 2 - Minor
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
valgrind raise an alert "Source and destination overlap in memcpy" on
GSMime.m around line 2821:
memcpy(bytes, &bytes[input], lengthRemaining);
I think it's better to use memmove for this operation, and for all
memcpy(bytes, &bytes...) operations.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27224>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep