Feature #8093: loader.efi: cleanup loader main and implement comconsole
loader: add asprintf for libstand
The loader libstand is missing asprintf, so lets add it, as it would simplify our life. The implementation is actually quite simple - we let kvprintf() to count the size of the resulting string, we allocate the memory and then fill it.
As the current kvprintf does assume non-NULL buffer, the small update is needed there to make sure we wont dereference the NULL pointer.
Updated by Electric Monk over 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 6ea3a31b44e53b311373bfe0ae8414d122edca27 Author: Toomas Soome <firstname.lastname@example.org> Date: 2017-05-02T20:30:49.000Z 8127 loader: add asprintf for libstand Reviewed by: Hans Rosenfeld <email@example.com> Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>