Comment 3 for bug 783716

Revision history for this message
In , Chris Wilson (ickle) wrote :

commit 1ffe6b0ee8decc02edb48ab197a869e1d7783a2b
Author: Chris Wilson <email address hidden>
Date: Wed Jan 25 10:11:49 2012 +0000

    intel_bios_reader: Sanitize input to ensure all data blocks are within bound

    Running intel_bios_reader upon itself causes the reader to crash and
    burn. It obviously finds a VBT signature inside the binary, but then
    does not rigorously check that all data blocks are valid before
    dereferencing them.

    Reported-by: Emanuel Bronshtein
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45205
    Signed-off-by: Chris Wilson <email address hidden>