Public bug reported: Redirecting stdout to a file on syntax check never produces any failures. stdout from IASL output needs to be fflushed to push it out the pipe to the parent that gathers the data.
On inspecting fwts_iasl_assemble_aml() it appears that we need a fflush(). Also the reader on the parent is realloc'ing data and not checking for a null pointer out of memory condition. ** Affects: fwts (Ubuntu) Importance: High Assignee: Colin King (colin-king) Status: In Progress ** Changed in: fwts (Ubuntu) Assignee: (unassigned) => Colin King (colin-king) ** Changed in: fwts (Ubuntu) Importance: Undecided => High ** Changed in: fwts (Ubuntu) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1200426 Title: fwts: syntaxcheck sometimes fails when redirecting stdout to a file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fwts/+bug/1200426/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs