Messages in this thread | | | Subject | Re: [PATCH] 8 bytes kernel memory disclosure in AppleTalk getsockname. | From | Tetsuo Handa <> | Date | Wed, 26 Aug 2009 21:01:56 +0900 |
| |
Clement LECIGNE wrote: > Here is a patch that zero the whole sockaddr_at structure before > processing it. It should fix this bug.
Same kind of bug at http://lkml.org/lkml/2006/7/25/51 . I wonder why not zero'ing sockaddr at the caller rather than zero'ing at individual ->getname(). Doing so will save some lines.
| |