Iniailize str so ucs2_to_utf8 won't free stack garbage.
CID: 1381037 Sponsored by: Netflix
This commit is contained in:
parent
af934ea3ba
commit
96723f5a89
@ -125,7 +125,7 @@ efi_print_load_option(uint8_t *data, size_t datalen, int Aflag, int bflag, int u
|
||||
uint16_t fplen;
|
||||
efi_char *descr;
|
||||
efidp dp, edp;
|
||||
char *str;
|
||||
char *str = NULL;
|
||||
char buf[1024];
|
||||
int len;
|
||||
void *opt;
|
||||
|
Loading…
Reference in New Issue
Block a user