cvs commit: src/lib/libc/stdlib malloc.c

Jason Evans jasone at FreeBSD.org
Fri Jan 13 11:07:21 PST 2006


On Jan 12, 2006, at 5:29 PM, Giorgos Keramidas wrote:
>
> [...]
>
> Does this look like an off-by-one error to you too Jason?   
> Apparently, the
> allocated size of s->data is s->size, which is 873 bytes, but then  
> Emacs tries
> to access s->data[873].
>
> Does it look like I'm right in thinking that this is a bug in Emacs?

This looks like a bug in emacs, as you say, but I don't know if it  
has any particular relation to the posix_memalign() changes.  If  
updating to either before or after the broken posix_memalign()  
revision, and need help figuring out the issue, please let me know.

Thanks,
Jason



More information about the cvs-all mailing list