Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SCP: Add'l memory sanitization fixes
Initialize de-dup'ed debug line buffer: realloc(NULL, size) == malloc(size), which results in an uninitialized debug line buffer and will fail memory sanitizer checks. Ensure that the buffers are memset() to zero when initially allocated. Another Random Act of Memory (Sanitization): Clang's memory sanitizer found an off-by-one bug in sim_addr_acl_check while executing "testlib". This makes CIDR network ACLs functional, e.g., "127.0.0.1/32" is interpreted properly and the associated "testlib" test passes.
- Loading branch information