]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: validate sectorsize argument in disk_open()
authortsoome <tsoome@FreeBSD.org>
Sun, 5 May 2019 06:38:47 +0000 (06:38 +0000)
committertsoome <tsoome@FreeBSD.org>
Sun, 5 May 2019 06:38:47 +0000 (06:38 +0000)
commit38b668d19fe65f66d9d85efc9c998980fe48957d
tree493712a58c2d942cdd38e46484cfc292e1cfe9f4
parentcae80982c1f59cca9f6d6b536bfde0447a8b040d
loader: validate sectorsize argument in disk_open()

The bug and patch is reported against 11.2, but it is good idea to have
the check in place for all versions.

PR: 236585
Submitted by: john@feith.com
Reported by: john@feith.com
MFC after: 1 day
stand/common/disk.c