Files
poky/meta/recipes-core
Ross Burton 297605eec0 cve-update-db-native: improve metadata parsing
The metadata parser is fragile: first it coerces a bytes() to a str() (so the
string is b'LastModifiedDate:2019...'), assumes the first line is the date, and
then uses a regex to parse (which then includes the trailing quote as part of
the date).

Clean this up by parsing the bytes as UTF-8 (ASCII is probably fine, but this is
safer), iterate through the lines and split on colons to find the right
key/value pair.

(From OE-Core rev: bb4e53af33d6ca1e9346464adbdc1b39c47530f3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-22 17:31:03 +01:00
..
2019-05-12 17:55:11 +01:00
2019-07-18 12:16:19 +01:00
2019-06-14 22:48:22 +01:00
2019-05-15 17:53:29 +01:00
2019-06-30 22:40:52 +01:00
2019-01-08 11:16:44 +00:00
2019-07-03 17:00:57 +01:00
2015-01-23 11:36:27 +00:00
2018-03-09 09:17:02 -08:00
2018-09-04 11:03:55 +01:00
2019-05-12 17:55:11 +01:00
2019-05-27 17:06:34 +01:00
2019-02-25 10:43:07 +00:00
2019-06-06 00:40:07 +01:00
2019-02-25 10:43:07 +00:00
2019-06-28 13:28:38 +01:00
2019-03-29 08:28:52 +00:00