Project

General

Profile

Actions

Feature #8127

closed

Feature #8093: loader.efi: cleanup loader main and implement comconsole

loader: add asprintf for libstand

Added by Toomas Soome about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
2017-04-29
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

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.

Actions

Also available in: Atom PDF