-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hashtable size in configuration is not checked #7
Comments
This looks to be referring to several use of src/modules/analysis/RBSWormDetectorCfg.cpp: hashBits = getInt("hashbits"); The aggregator has a similar issue: src/modules/ipfix/aggregator/AggregatorBaseCfg.cpp: htableBits = getInt("hashtableBits", HT_DEFAULT_BITSIZE); as |
Hashtablesize is a uint32_t. No boundary checks are performed when reading hashBits from the configuration file. This will result in overflows and even segmentation faults (e.g. if hashbits == 63).
The text was updated successfully, but these errors were encountered: