[patch #9820] Fix some out-of-bounds/uninitialized issues

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[patch #9820] Fix some out-of-bounds/uninitialized issues

Kevin Cuzner-2
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/


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev