diff options
author | Anders Kaseorg <andersk@mit.edu> | 2016-08-17 17:13:41 -0400 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-08-17 22:13:41 +0100 |
commit | 8094e1246e8d7ed827784c3c3126cef44a9ef699 (patch) | |
tree | f0bc56c5a86c39d858c0d2afd05819b0c51b1f27 /libappstream-glib/as-store-cab.h | |
parent | 2ec31bac7bd77e7b39c502276f4acec21ed9d576 (diff) | |
download | appstream-glib-8094e1246e8d7ed827784c3c3126cef44a9ef699.tar.gz |
Pay attention to errors from yaml_parser_parse (#129)
The previous commit message blames libyaml for spinning forever on
invalid input. This is not the case. libyaml is correctly returning
an error code, but as_node_yaml_process_layer was ignoring it and
spinning forever calling back into libyaml as if expecting the error
to disappear by itself.
The code should probably be audited for other ignored error codes, but
this fixes the immediate problem.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Diffstat (limited to 'libappstream-glib/as-store-cab.h')
0 files changed, 0 insertions, 0 deletions