[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [patch #9820] Fix some out-of-bounds/uninitialized issues
From: |
Adrian Klieber |
Subject: |
[avrdude-dev] [patch #9820] Fix some out-of-bounds/uninitialized issues |
Date: |
Sun, 23 Jun 2019 07:55:54 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0 |
URL:
<https://savannah.nongnu.org/patch/?9820>
Summary: Fix some out-of-bounds/uninitialized issues
Project: AVR Downloader/UploaDEr
Submitted by: aklieber
Submitted on: Sun 23 Jun 2019 11:55:52 AM UTC
Category: None
Priority: 5 - Normal
Status: None
Privacy: Private
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
avrdude_stk500v2.c_potential_out_of_bounds.patch:
Fix for loop missing div by sizeof first element + index var will be outside
array range if no match found.
avrdude_pickit2.c_out_of_bounds.patch:
Fix assigning PGM_DESCLEN (=80) bytes to pgm->type (32 bytes). Most likely a
mixup between type and desc fields. Comment states intention to get
description, not type.
avrdude_stk500v2.c_potentially_uninitialized.patch:
Fix variables being uninitialized in call to avrdude_message if
stk500v2_getparm fails.
avrdude_avr.c_potential_div_by_zero.patch:
Fix missing check for page_size > 0 potentially resulting in div by zero in
modulo page_size.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 23 Jun 2019 11:55:52 AM UTC Name:
avrdude_stk500v2.c_potential_out_of_bounds.patch Size: 717B By: aklieber
<http://savannah.nongnu.org/patch/download.php?file_id=47127>
-------------------------------------------------------
Date: Sun 23 Jun 2019 11:55:52 AM UTC Name:
avrdude_stk500v2.c_potentially_uninitialized.patch Size: 554B By: aklieber
<http://savannah.nongnu.org/patch/download.php?file_id=47128>
-------------------------------------------------------
Date: Sun 23 Jun 2019 11:55:52 AM UTC Name:
avrdude_pickit2.c_out_of_bounds.patch Size: 671B By: aklieber
<http://savannah.nongnu.org/patch/download.php?file_id=47129>
-------------------------------------------------------
Date: Sun 23 Jun 2019 11:55:52 AM UTC Name:
avrdude_avr.c_potential_div_by_zero.patch Size: 441B By: aklieber
<http://savannah.nongnu.org/patch/download.php?file_id=47130>
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/patch/?9820>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] [patch #9820] Fix some out-of-bounds/uninitialized issues,
Adrian Klieber <=