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.

Submitted by:  David Binderman <dcb314>
Submitted on:  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: 
Release:  other 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>

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.5