bugGNU GRUB - Bugs: bug #55694, Possible bug in file...

 
 

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

bug #55694: Possible bug in file grub/grub-core/fs/squash4.c line 739

Submitter:  Petru-Florin Mihancea <petrum2>
Submitted:  Mon 11 Feb 2019 02:39:26 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:  Git master
Release:  Reproducibility:  None
Planned Release:  None

Mon 11 Feb 2019 02:39:26 PM UTC, original submission:  

While experimenting with a novel static analysis technique in CodeSonar, we noticed the following potential problem at the next location:

FilePath: grub/grub-core/fs/squash4.c
Function: grub_squash_open
Line number: 739

As far as I understood from a comment for function grub_fshelp_find_file (invoked in line 707 in the previous function), fdiro may point to root as a result of the execution of grub_fshelp_find_file. Thus, in line 739 (and 733) it is possible to deallocate  a non-heap address (since root is local).

Thanks,
Petru-Florin Mihancea

Petru-Florin Mihancea <petrum2>

 

(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 petrum2 (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-f8d8.
    Corresponding source code