bugGNU GRUB - Bugs: bug #51150, Use after free (crypto.c file)


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

bug #51150: Use after free (crypto.c file)

Submitted by:  AppChecker <appchecker>
Submitted on:  Wed 31 May 2017 03:09:40 PM UTC  
Category:  None Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release: 
Release:  Git master Reproducibility:  None
Planned Release:  None

Wed 31 May 2017 03:09:40 PM UTC, original submission:  


Please, look "this code fragment:":http://git.savannah.gnu.org/gitweb/?p=grub.git;a=blob;f=grub-core/normal/crypto.c;h=2bfd67c8ef388097701a7415df3cd7321c6a1e57;hb=HEAD#l150

<code class="c">
grub_free (cur);
grub_free (cur->name);

Probably, it should be:
<code class="c">
grub_free (cur->name);
grub_free (cur);

This possible defect found by "AppChecker":npo-echelon.ru/en/solutions/appchecker.php

AppChecker <appchecker>


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 phcoder (Updated the item)
  • -email is unavailable- added by appchecker (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.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-07-09 phcoder StatusNone => Fixed
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.7