summaryrefslogtreecommitdiff
path: root/logger.c
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2017-10-29 15:21:34 -0700
committerdormando <dormando@rydia.net>2017-10-29 15:21:34 -0700
commitc22168bff7b198978525b3bf06d920517c9051a4 (patch)
treef4d13f51e1976dd0e0b299e7777fa3b796563ab7 /logger.c
parenta906f77ebda87c339da6160fb01bf5694555d24d (diff)
downloadmemcached-c22168bff7b198978525b3bf06d920517c9051a4.tar.gz
fix theoretical leak in process_bin_stat
If len were to be <= 0 it would not free the dump buffer. As written, if dump_buf is not NULL length will have a minimum value of 5, so that condition can't trigger. Safer to fix the bug though :) Thanks to shqking on github for the report.
Diffstat (limited to 'logger.c')
0 files changed, 0 insertions, 0 deletions