loader: can not load zero sized file
To be exact, the UEFI version of loader can not load zero sized file, because UEFI memory allocator can not allocate 0 pages of memory.
Testing done: load -t file /test (empty file) before and after patch + boot. confirmed the fix.
Updated by Electric Monk about 2 years ago
- Status changed from New to Closed
- % Done changed from 90 to 100
commit 873f5d0769a5334a9dfb27cf8a5174e25ae4418e Author: Toomas Soome <firstname.lastname@example.org> Date: 2020-02-24T19:07:16.000Z 12335 loader: can not load zero sized file Reviewed by: Andy Fiddaman <email@example.com> Reviewed by: Jorge Schrauwen <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>