CESNET / ipfixcol

IPFIXcol is an implementation of an IPFIX (RFC 7011) collector
Other
64 stars 37 forks source link

Another bunch of vulnerability fixes (2) #26

Closed ghost closed 9 years ago

ghost commented 9 years ago

Please double-check commit 378c841. Since fcounter is never used/increased in utils_files_from_path, the removed condition fcounter >= array_length - 1 should never be true.

ghost commented 9 years ago

Just restored the code that I removed as part of 378c841, and changed fcounter >= array_length - 1 into inputf_index >= array_length - 1.