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: NoneSeverity: Major
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: Git masterReproducibility: None
Planned Release: None

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

Hi!

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

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

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

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 09 Jul 2017 08:00:20 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1