svn commit: r265367 - head/lib/libc/regex

Andrey Chernov ache at
Mon May 5 23:08:36 UTC 2014

On 06.05.2014 2:52, Andrey Chernov wrote:
> As I mention initially, literal enough checks is what we need to make
> logic clear. In the case we discuss realloc() can be changed by
> reallocf() which does n*size and NULL checks and literal "if" should be
> added before malloc() to check overflow.

Sorry crumpled phrase. Literal "if" for overflow checking should be
added before both malloc() and reallocf(). Other ways will make the code
obscure for human and hard to support.


More information about the svn-src-head mailing list