Re: array overflow in local.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jun 27, 2008, at 6:15 AM, Robert Schuster wrote:

Hi.

Andrew Haley schrieb:
Furthermore since overrunning the bounds of a stack allocated array may trash other stuff on the stack I wonder whether this fix also prevents the problem that the workaround above the modified code speaks of. Since
I do not run Darwin-based OS I cannot test it myself.

That may well be right.

IMO it should be more like
OK.

Casey would you mind testing the attached patch on your Darwin platform?


I'll give it a try when I get a chance, but this patch looks fine as is.

(And I'm embarrassed; `addr' was being set to NULL, if I remember correctly)


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux