-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
helper: test: table: fix buffer overflow
The value_size is a fixed value, so the size of value should match value_size, otherwise a buffer overflow occurs when memcpy the value to hashnode in line 59 table.c. Signed-off-by: Fan Hong <fan.hong@arm.com>
- Loading branch information
1 parent
ba0df2c
commit fc4c3ae
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters