[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #55694] Possible bug in file grub/grub-core/fs/squash4.c line 739
From: |
Petru-Florin Mihancea |
Subject: |
[bug #55694] Possible bug in file grub/grub-core/fs/squash4.c line 739 |
Date: |
Mon, 11 Feb 2019 09:39:27 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?55694>
Summary: Possible bug in file grub/grub-core/fs/squash4.c
line 739
Project: GNU GRUB
Submitted by: 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:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: Git master
Reproducibility: None
Planned Release: None
_______________________________________________________
Details:
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
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55694>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #55694] Possible bug in file grub/grub-core/fs/squash4.c line 739,
Petru-Florin Mihancea <=