Commit a416f72
Perftest: Fix payload modification length bug
This commit fix an implementation bug .
currently perftest get the payload length using strlen.
strlen returns the length of null-terminated string, since the
payload contains 0 values, the returned length is incorrect.
Signed-off-by: Shmuel Shaul <[email protected]>1 parent 89029a9 commit a416f72
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
| 552 | + | |
552 | 553 | | |
553 | 554 | | |
554 | 555 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1946 | 1946 | | |
1947 | 1947 | | |
1948 | 1948 | | |
1949 | | - | |
1950 | 1949 | | |
1951 | | - | |
| 1950 | + | |
1952 | 1951 | | |
1953 | 1952 | | |
1954 | 1953 | | |
| |||
2025 | 2024 | | |
2026 | 2025 | | |
2027 | 2026 | | |
| 2027 | + | |
2028 | 2028 | | |
2029 | 2029 | | |
2030 | 2030 | | |
| |||
2033 | 2033 | | |
2034 | 2034 | | |
2035 | 2035 | | |
2036 | | - | |
| 2036 | + | |
2037 | 2037 | | |
2038 | 2038 | | |
2039 | 2039 | | |
| |||
0 commit comments