Re: [pcre-dev] [PATCH] add malloc and alloc_size attributes …

Página superior
Eliminar este mensaje
Autor: Philip Hazel
Fecha:  
A: Zoltán Herczeg
Cc: pcre-dev
Asunto: Re: [pcre-dev] [PATCH] add malloc and alloc_size attributes to allocation functions
On Sat, 2 Jun 2012, Zoltán Herczeg wrote:

> I feel this patch just adds unnecessary complexity to the header file.
> What exactly are these optimizations? For buffer overflows, valgrind
> is the perfect detection tool with its red zone based detection
> algorithm. What else can you do with these macros?
>
> Or better to ask: what is your exact use case where you need these
> features? Perhaps we can suggest some workarounds for them.


In any case, I am just in the process of preparing the first 8.31
release candidate, so if any changes are to be made, they will have to
wait till the next release. So there is time to think about and discuss
them.

Philip

--
Philip Hazel