On 06/08/2011 05:38 AM, Eric Blake wrote:
> I fixed that, and found the next bug:
> 
> $ ./foo 1 23
> Operation not permitte(34)
> $ ./foo 1 24
> Operation not permitted(0)
> 
> Ouch.  MacOS is _silently_ writing a NUL byte beyond the array bounds,
> if the input buffer size is exactly equal to strlen(message size).

I can't count today.  I'm seeing something fail, but after re-counting,
I'm not seeing an out-of-bounds write, after all.

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to