Project

General

Profile

Bug #10912

loader: validate sectorsize argument in disk_open()

Added by Toomas Soome 5 months ago. Updated 5 months ago.

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

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

Error out if sectorsize == 0. Since the sectorsize is used in division, we need to be sure it is not 0.

History

#1

Updated by Electric Monk 5 months ago

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

git commit 8095452365aae38329650734a6846e8886ac4d48

commit  8095452365aae38329650734a6846e8886ac4d48
Author: Toomas Soome <tsoome@me.com>
Date:   2019-05-08T13:35:24.000Z

    10912 loader: validate sectorsize argument in disk_open()
    Reviewed by: Rob Johnston <rob.johnston@joyent.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF