Re: [PATCH 04/16] elfops: add strict bounds checking to get/load_section()

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


On 5/18/09, Andreas Robinson <andr345@xxxxxxxxx> wrote:
> get_section() and load_section() now return NULL if a section header
> is corrupt and points to a block that lies partially or entirely
> outside the file data buffer.

Great!

Just out of interest, do you have any ideas about adding bounds
checking for strings?  If I remember correctly, there's still a
possibility for crashes if next_string() is used on a section which is
missing a final NUL terminator.

Thanks
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]

Add to Google Powered by Linux