imp 89ac25cab2 Fix a coverity-discovered NULL pointer dereference.
*** CID 1372598:  Null pointer dereferences  (FORWARD_NULL)
/lib/libefivar/efivar-dp-parse.c: 3612 in UefiDevicePathLibConvertTextToDeviceNode()
   Dereferencing null pointer "FromText".

When ported from Tiano core, I commented this out with an ifdef. That
was in error because we're supposed to fallback to a filepath when
nothing else patches. Instead, restore the original code, but fix
DevPathFromTextFilePath to cope with the conversion to narrow
strings. Also, fix the off-by-one error in the size of the memory it
allocates.

The off by one error is documented in Tiano core bug
https://bugzilla.tianocore.org/show_bug.cgi?id=441

CID: 1372598
Sponsored by: Netflix
2017-03-23 02:30:57 +00:00
..
2017-03-20 13:02:27 +00:00
2017-03-22 20:51:52 +00:00
2017-02-28 23:42:47 +00:00
2016-08-30 02:07:15 +00:00
MFH
2016-04-04 23:55:32 +00:00
MFH
2016-03-02 16:14:46 +00:00
2017-01-30 23:00:51 +00:00
MFH
2016-03-02 16:14:46 +00:00
2016-11-11 23:28:07 +00:00
2017-02-28 23:42:47 +00:00
2016-11-20 06:10:12 +00:00
2017-03-11 00:08:11 +00:00
MFH
2016-03-02 16:14:46 +00:00
2017-02-27 00:10:00 +00:00
2017-03-19 00:51:12 +00:00
MFH
2016-04-11 15:24:59 +00:00
MFH
2016-04-13 16:19:50 +00:00
2017-02-14 13:35:59 +00:00
2017-02-28 23:42:47 +00:00
2017-01-04 16:09:08 +00:00
2017-02-28 23:42:47 +00:00
2017-01-28 23:51:03 +00:00