fwts: pcre breaks on arm 32 because of incorrect size of vector in klog lib helper
Bug #1401184 reported by
Colin Ian King
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.
Related branches
Changed in fwts: | |
importance: | Undecided → High |
assignee: | nobody → Colin Ian King (colin-king) |
status: | New → In Progress |
Changed in fwts: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Fix sent to fwts-devel mailing list for review, https:/ /lists. ubuntu. com/archives/ fwts-devel/ 2014-December/ 005676. html