CESNET / ipfixcol

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

Panonymizer.c: fixed previous improvement that results in decreased entropy #52

Closed ghost closed 9 years ago

ghost commented 9 years ago

We previously replaced all invocations of strncpy by strncpy_safe, to ensure safe String termination. In this particular case, however, this change results in decreased entropy (the last byte of the key is always zero). We therefore revert this change here.