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 almost 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 6ea3a31b44e53b311373bfe0ae8414d122edca27 Author: Toomas Soome <email@example.com> Date: 2017-05-02T20:30:49.000Z 8127 loader: add asprintf for libstand Reviewed by: Hans Rosenfeld <firstname.lastname@example.org> Reviewed by: Robert Mustacchi <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>