2 Commits

Author SHA1 Message Date
Jef Driesen
74272f4d77 Avoid undefined behaviour with NULL pointers.
We accept NULL pointers if the size is zero, but the C standard
library functions memcpy and memmove requires valid pointers, even if
the size is zero.
2009-11-10 11:35:19 +00:00
Jef Driesen
d3028dc2d7 Add a new memory buffer class. 2009-11-10 11:35:09 +00:00