mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 18:56:38 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326805
|
@ -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 a new issue