loader.efi: Don't set *dev in the zfs root case, it may be NULL
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.
Updated by Electric Monk about 5 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit ff157c8690676593df83d0602f60f960862d3492 Author: Toomas Soome <firstname.lastname@example.org> 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 <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>