Project

General

Profile

Actions

Bug #11882

closed

loader: rs_alloc() may return NULL

Added by Toomas Soome over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

rs_alloc() in zfs reader code may return NULL, so we need to check the return value and error out if needed.

testing done: build/install/boot.

Actions #1

Updated by Toomas Soome over 2 years ago

  • Description updated (diff)
Actions #2

Updated by Electric Monk over 2 years ago

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

git commit 042b56085944fdf280ee8e4a93b329c206054f88

commit  042b56085944fdf280ee8e4a93b329c206054f88
Author: Toomas Soome <tsoome@me.com>
Date:   2019-10-29T16:56:23.000Z

    11882 loader: rs_alloc() may return NULL
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF