Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 105540 | Differences between
and this patch

Collapse All | Expand All

(-)libxml2-2.6.21/xmlmemory.c (+4 lines)
Lines 409-414 Link Here
409
    size_t size;
409
    size_t size;
410
#endif
410
#endif
411
411
412
    if (!ptr) {
413
        goto error;
414
    }
415
412
    if (ptr == (void *) -1) {
416
    if (ptr == (void *) -1) {
413
	xmlGenericError(xmlGenericErrorContext,
417
	xmlGenericError(xmlGenericErrorContext,
414
	    "trying to free pointer from freed area\n");
418
	    "trying to free pointer from freed area\n");

Return to bug 105540