Enlightenment CVS committal
Author : chaos
Project : e17
Module : libs/epsilon
Dir : e17/libs/epsilon/src/common
Modified Files:
epsilon_thumb_common.c
Log Message:
* Yay! Entropy wasn't to blame after all - fix a memcpy where mem areas can
overlay - change to memmove. This was causing random segvs in entropy. Always
good to add more stability :)
===================================================================
RCS file: /cvs/e/e17/libs/epsilon/src/common/epsilon_thumb_common.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- epsilon_thumb_common.c 29 Mar 2006 14:30:02 -0000 1.3
+++ epsilon_thumb_common.c 9 Apr 2006 11:12:12 -0000 1.4
@@ -99,7 +99,7 @@
* Shift the contents of the buffer for further processing.
*/
if (remains > 0) {
- memcpy(msg, ((char *)msg + size), remains);
+ memmove(msg, ((char *)msg + size), remains);
}
else {
free(end->buffer);
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs