diff options
author | George Anderson GuimarĂ£es <571682+georgeanderson@users.noreply.github.com> | 2021-05-11 06:27:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-11 14:27:08 +0300 |
commit | e01c92a5ef6127067922f74cd8dac2ba72a1ad52 (patch) | |
tree | a1ae1c027d78a96aca347d8aa955fd81b84f52f0 /README.md | |
parent | 8526e04e7b5074944f95fafc9f19bd1b4d4a3a47 (diff) | |
download | redis-e01c92a5ef6127067922f74cd8dac2ba72a1ad52.tar.gz |
improve error handing in anetFDToString to avoid returning successfully with garbage. (#8678)
Check for errors in inet_ntop and snprintf rather than ignore them
and return success (with garbage output).
The check for ip_len == 0 seems like dead code, removed.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions