Nick Craig-Wood
1f28f4d05d
compress: fix crash due to nil metadata #6434
...
Before this fix, if an error ocurred reading the metadata, it could be
set as nil and then used, causing a crash.
This fix changes the readMetadata function so it returns an error, and
the error is always set if the metadata returned is nil.
2022-09-17 16:37:26 +01:00
..
2022-08-28 13:43:51 +02:00
2022-08-28 13:43:51 +02:00
2022-08-05 16:35:41 +01:00
2022-08-28 13:43:51 +02:00
2022-08-30 11:16:26 +02:00
2022-08-30 11:16:26 +02:00
2022-08-28 13:43:51 +02:00
2022-08-30 11:16:26 +02:00
2022-08-30 11:16:26 +02:00
2022-09-17 16:37:26 +01:00
2022-08-30 11:16:26 +02:00
2022-09-05 16:19:50 +01:00
2022-08-30 11:16:26 +02:00
2022-08-30 11:16:26 +02:00
2022-08-30 11:16:26 +02:00
2022-09-14 12:10:58 +01:00
2022-08-30 11:16:26 +02:00
2022-08-30 10:23:29 +02:00
2022-06-29 17:30:37 +01:00
2022-08-28 13:43:51 +02:00
2022-08-30 11:16:26 +02:00
2022-06-21 23:43:00 +02:00
2022-06-13 21:13:50 +02:00
2022-08-30 11:16:26 +02:00
2022-08-30 11:16:26 +02:00
2022-08-30 11:16:26 +02:00
2022-09-05 16:19:50 +01:00
2022-08-28 13:43:51 +02:00
2022-08-30 11:16:26 +02:00
2022-08-05 16:35:41 +01:00
2022-08-30 11:16:26 +02:00
2022-09-16 16:57:29 +01:00
2022-08-28 13:43:51 +02:00
2022-08-30 11:16:26 +02:00
2022-08-05 16:35:41 +01:00
2022-08-28 13:43:51 +02:00
2022-08-28 13:43:51 +02:00
2022-09-15 16:04:34 +01:00
2022-08-30 10:23:29 +02:00
2022-09-14 16:45:35 +01:00
2022-08-05 16:35:41 +01:00
2022-08-28 13:43:51 +02:00
2022-08-05 16:35:41 +01:00
2022-08-30 10:23:29 +02:00
2022-08-30 11:16:26 +02:00
2022-08-28 13:43:51 +02:00
2022-08-30 11:16:26 +02:00
2022-08-30 10:23:29 +02:00
2022-08-28 13:43:51 +02:00
2022-08-30 11:16:26 +02:00