Project

General

Profile

Actions

Bug #10117

closed

libbe needs smatch fixes

Added by John Levon almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2018-12-19
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

be_get_boot_args() is not checking for asprintf() failure correctly, and be_create_menu() has a use after free.

Actions #1

Updated by Electric Monk over 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit ce829a5100fdc22aacaa0a61badfc9d23d0cd505

commit  ce829a5100fdc22aacaa0a61badfc9d23d0cd505
Author: John Levon <john.levon@joyent.com>
Date:   2019-01-30T22:53:18.000Z

    10117 libbe needs smatch fixes
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Gergő Doma <domag02@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF