Project

General

Profile

Feature #9098

loader: ptable_close should check for NULL argument

Added by Toomas Soome over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
2018-02-11
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Difficulty:
Bite-size
Tags:

Description

pthable_close() has single argument - pointer to the table to be freed. We should check it.


Subtasks

Bug #9099: loader: Solaris 2 partition may have no VTOCClosedToomas Soome

Actions

History

#1

Updated by Electric Monk over 1 year ago

  • Status changed from In Progress to Closed

git commit 7ac713f36e72e44b5a64f189578b1f7f617c66e6

commit  7ac713f36e72e44b5a64f189578b1f7f617c66e6
Author: Toomas Soome <tsoome@me.com>
Date:   2018-02-12T10:58:12.000Z

    9098 loader: ptable_close should check for NULL argument
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>

Also available in: Atom PDF