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

Submitted by:  Petru-Florin Mihancea <petrum2>
Submitted on:  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: 
Release:  Git master 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).

Petru-Florin Mihancea

Petru-Florin Mihancea <petrum2>


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)

    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.7