Project

General

Profile

Bug #10117

libbe needs smatch fixes

Added by John Levon 7 months ago. Updated 6 months ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

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

History

#1

Updated by Electric Monk 6 months ago

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

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>

Also available in: Atom PDF