fwts: pcre breaks on arm 32 because of incorrect size of vector in klog lib helper

Bug #1401184 reported by Colin Ian King
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Firmware Test Suite
Fix Released
High
Colin Ian King

Bug Description

fwts klog regular expressions break pcre on arm 32 with a stack smashing overflow. This is because the vector passed to pcre_exec must be a multiple of 3 in size and fwts is only using 1. Also it would be useful if pcre_exec errors are reported in case the regular expressions are corrupt or mis-compiled at run time to catch other pcre issues in the future.

Changed in fwts:
importance: Undecided → High
assignee: nobody → Colin Ian King (colin-king)
status: New → In Progress
Revision history for this message
Colin Ian King (colin-king) wrote :

Fix sent to fwts-devel mailing list for review, https://lists.ubuntu.com/archives/fwts-devel/2014-December/005676.html

Alex Hung (alexhung)
Changed in fwts:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.