bugGNU GRUB - Bugs: bug #56589, ...


You are not allowed to post comments on this tracker with your current authentication level.

bug #56589: grub-2.04/grub-core/fs/btrfs.c:695]: (style) Array index 'i' is used before limits check.

Submitter:  David Binderman <dcb314>
Submitted:  Sun 07 Jul 2019 04:36:55 PM UTC
Category:  None Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release:  other
Release:  Reproducibility:  None
Planned Release:  None

Sun 07 Jul 2019 04:36:55 PM UTC, original submission:  

Source code is

  for(i = 0; buffers[i].data_is_valid && i < nstripes; i++);

maybe better code

  for(i = 0; i < nstripes && buffers[i].data_is_valid; i++);

David Binderman <dcb314>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by dcb314 (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code