This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] [avr] fix a buffer overrun


Hi,

This patch protects against a buffer overrun in the avr prologue scanner. 
The overrun was causing gdb to seg fault.

It's basically a band-aid to allow me to test the rest of the patches I'll
be committing this weekend to frame-ify and remove deprecated interfaces
from avr-tdep.c.

Ted Roth

2003-06-14  Theodore A. Roth  <troth@openavr.org>
 
    * avr-tdep.c (avr_scan_prologue): Fix to avoid a buffer over run which
    causes gdb to seg fault.
 

Attachment: avr-fix-overrun.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]