mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2026-05-08 15:47:28 -04:00
bb11441 - fixing off by one OOB write in htmlnorm
This commit is contained in:
@@ -618,7 +618,7 @@ static void screnc_decode(unsigned char *ptr, struct screnc_state *s)
|
||||
remaining = strlen((const char*)ptr) + 1;
|
||||
memmove(dst, ptr, remaining);
|
||||
} else {
|
||||
*dst = '\0';
|
||||
*ptr = '\0';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user