fwts: syntaxcheck: strcpy should be replaced with strncpy
Bug #1205215 reported by
Colin Ian King
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Firmware Test Suite |
Fix Released
|
Medium
|
Unassigned | ||
fwts (Ubuntu) |
Fix Released
|
Medium
|
Colin Ian King |
Bug Description
Coverity Scan complaining about a strcpy(). This needs fixing.
CID null (#1 of 1): Copy into fixed size buffer (STRING_OVERFLOW)2. fixed_size_dest: You might overrun the 64 byte fixed-size string "buf" by copying "AslErrorLevel[
Related branches
Changed in fwts (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Colin King (colin-king) |
Changed in fwts: | |
milestone: | none → 13.08.00 |
Changed in fwts: | |
status: | New → Fix Committed |
Changed in fwts (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in fwts: | |
importance: | Undecided → Medium |
Changed in fwts: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
patch sent to the fwts-devel mailing list