[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug Report: sed-4.1.4 misinterprets uClibc's malloc (patch included)
From: |
Paul Eggert |
Subject: |
Re: Bug Report: sed-4.1.4 misinterprets uClibc's malloc (patch included) |
Date: |
Fri, 26 Aug 2005 11:59:36 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Yuri Vasilevski <address@hidden> writes:
> Also glibc's realloc return NULL if size == 0, so in the places where
> realloc is used in regex the case of NULL pointers most be taken care
> off in any way.
I just checked, and regex never uses size == 0 with realloc, so we're
OK there. (This assuming no arithmetic overflow, but the regex code
is riddled with overflow gotchas and I'd rather address that problem
separately.)