diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-11-22 16:55:22 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-12-19 10:45:14 +0100 |
commit | 7f88280929c350b087751e71e56e81b9b88d3495 (patch) | |
tree | 5e756d8d31e4d25b54249444b9726075a439c4c3 /src/mm-error-helpers.c | |
parent | 243272c11178e68914d7cc2dcfdc28248edb2aa7 (diff) |
altair: make sure parse_vendor_pco_info() always returns an error
The parse_vendor_pco_info() method was returning NULL without error if
the pco info string was empty.
Under this situation, the code would have tried to add a NULL MMPco
into the pco_list list, which is not desired.
Avoid this, by making sure a NULL return always sets an error.
Diffstat (limited to 'src/mm-error-helpers.c')
0 files changed, 0 insertions, 0 deletions