diff options
author | dormando <dormando@rydia.net> | 2017-10-29 15:21:34 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2017-10-29 15:21:34 -0700 |
commit | c22168bff7b198978525b3bf06d920517c9051a4 (patch) | |
tree | f4d13f51e1976dd0e0b299e7777fa3b796563ab7 /logger.c | |
parent | a906f77ebda87c339da6160fb01bf5694555d24d (diff) | |
download | memcached-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