diff options
author | Tyson Andre <tysonandre775@hotmail.com> | 2021-07-22 10:17:17 -0400 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2021-07-25 14:54:42 -0700 |
commit | ddee3e27a031be22f5f28c160be18fd3cb9bc63d (patch) | |
tree | c58b9b22603b1e4b4ab19644ac8956bd2914201d /tls.c | |
parent | 56a0ba62baab4f9acb8606a8754815a4cacf24b7 (diff) | |
download | memcached-ddee3e27a031be22f5f28c160be18fd3cb9bc63d.tar.gz |
Fix minor severity heap buffer overflow reading `--auth-file`1.6.10
Fixes #805
Allocate an extra byte for reading the last entry when there is no `\n` at
the end of the file.
Also, check if the user contains null bytes when reading the last entry.
Unrelatedly, add handling in case the auth file size changes while it is being read.
Diffstat (limited to 'tls.c')
0 files changed, 0 insertions, 0 deletions