Messages in this thread | | | Date | Sat, 8 Nov 2014 14:25:29 +0300 | From | Dan Carpenter <> | Subject | Re: [GIT PULL] Fix for Integrity subsystem null pointer deref |
| |
On Wed, Oct 29, 2014 at 09:36:12PM +0300, Dan Carpenter wrote: > I fixed that exact same bug in lustre last week where the xattr size is > not zero but it's less than the size of the struct. So this seems like > maybe it could be a common anti-pattern though.
It must not be very common. I wrote a Smatch script which finds both the lustre and the ima bugs but it doesn't find anything else major.
Apparently parsing vmcores is buggy, for example and I reported a couple other small bugs to other lists.
fs/proc/vmcore.c:547 update_note_header_size_elf64() warn: is 'notes_section' large enough for 'struct elf64_note'? fs/proc/vmcore.c:733 update_note_header_size_elf32() warn: is 'notes_section' large enough for 'struct elf32_note'?
regards, dan carpenter
| |