Fix endless loop DOS in parse_packet() collectd-4.10
authorPavel Rochnyack <pavel2000@ngs.ru>
Mon, 3 Apr 2017 05:57:09 +0000 (11:57 +0600)
committerPavel Rochnyack <pavel2000@ngs.ru>
Mon, 3 Apr 2017 13:53:57 +0000 (19:53 +0600)
commit82cb106ff4d0f8f99d6331705b0c602c512a3e4c
tree4e05a7f437c6e627b52405998a0a208c9daa3950
parent9df9c6e98ec2acaff9f302a9e9644c68c8d7d09b
Fix endless loop DOS in parse_packet()
When correct 'Signature part' is received by Collectd, configured without
AuthFile option, condition for endless loop occurs due to missing increase
of pointer to next unprocessed part.

Fixes: CVE-2017-7401
Closes: #2174
src/network.c