Ian Lepore 98934c6843 Fix the handling of legacy-format devices in the u-boot loaderdev variable.
When I added support for the standard loader(8) disk0s2a: type formats,
the parsing of legacy format was broken because it also contains a colon,
but it comes before the slice and partition. That would cause disk_parsedev()
to return success with the slice and partition set to wildcard values.

This change examines the string first, and if it contains spaces, dots, or
a colon at any position other than the end, it must be a legacy-format
string and we don't even try to use disk_parsedev() on it.

Reported by:	Manuel Stuhn
2019-02-20 03:00:55 +00:00
..
2018-02-26 03:16:47 +00:00
2018-04-27 22:15:18 +00:00
2019-02-08 14:56:28 +00:00
2018-03-13 16:33:00 +00:00
2019-02-04 21:28:25 +00:00
2018-08-15 11:39:13 +00:00
2019-01-20 21:09:44 +00:00
2018-12-03 17:51:10 +00:00
2018-07-08 07:42:49 +00:00
2017-12-02 00:06:58 +00:00