The infinite loop is not in libyaml (yaml_parser_parse), but rather in
its caller in appstream-glib (as_node_yaml_process_layer), which is
ignoring the error code returned by yaml_parser_parse and blindly going
around the loop again.  This patch fixes it.

** Patch added: "appstream-glib_0.5.17-0ubuntu1_lp1591868.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/1591868/+attachment/4722986/+files/appstream-glib_0.5.17-0ubuntu1_lp1591868.debdiff

** Changed in: libyaml (Ubuntu Xenial)
       Status: New => Invalid

** Changed in: libyaml (Ubuntu Yakkety)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1591868

Title:
  fwupd consuming 100% CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1591868/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to