To meet requirements of Common Criteria certification vulnerablility
assessment. Static code analysis has been run and found the following
error. Overlapping_buffer: The source buffer potentially overlaps
with the destination buffer, which results in undefined
behavior for "memcpy".
The change is to use memmove instead of memcpy.
Signed-off-by: Nigel Croxon <redacted>
---
sha1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
To meet requirements of Common Criteria certification vulnerablility
assessment. Static code analysis has been run and found the following
error. Overlapping_buffer: The source buffer potentially overlaps
with the destination buffer, which results in undefined
behavior for "memcpy".
The change is to use memmove instead of memcpy.
Signed-off-by: Nigel Croxon <redacted>
From: Paul Menzel <hidden> Date: 2021-08-18 06:34:40
Dear Nigel,
Am 17.08.21 um 15:14 schrieb Nigel Croxon:
To meet requirements of Common Criteria certification vulnerablility
vulnerability
assessment.
That’s only part of a sentence? Is that supposed to be read as a
continuation of the commit message summary: … to meet requirements …?
Static code analysis has been run and found the following
error. Overlapping_buffer: The source buffer potentially overlaps
It’d be great, if you denoted, which tool was run. Maybe even add a
Found-by tag.
quoted hunk
with the destination buffer, which results in undefined
behavior for "memcpy".
The change is to use memmove instead of memcpy.
Signed-off-by: Nigel Croxon <redacted>
---
sha1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
with the destination buffer, which results in undefined
behavior for "memcpy".
The change is to use memmove instead of memcpy.
Signed-off-by: Nigel Croxon <redacted>
---
sha1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
To meet requirements of Common Criteria certification vulnerablility
assessment. Static code analysis has been run and found the following
error. Overlapping_buffer: The source buffer potentially overlaps
with the destination buffer, which results in undefined
behavior for "memcpy".
The change is to use memmove instead of memcpy.
Signed-off-by: Nigel Croxon <redacted>
---
sha1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)