Project

General

Profile

Bug #7896

loader.efi: Don't set *dev in the zfs root case, it may be NULL

Added by Toomas Soome almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
2017-02-19
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

FreeBSD update: https://svnweb.freebsd.org/base?view=revision&revision=r304801

Don't set *dev in the zfs root case, it may be NULL and will correctly be set later in the function. This fixes a potential NULL pointer dereference found on arm64.

#1

Updated by Electric Monk almost 4 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit ff157c8690676593df83d0602f60f960862d3492

commit  ff157c8690676593df83d0602f60f960862d3492
Author: Toomas Soome <tsoome@me.com>
Date:   2017-03-01T02:07:26.000Z

    7896 loader.efi: Don't set *dev in the zfs root case, it may be NULL
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF