tumi8 / vermont

Vermont (VERsatile MONitoring Toolkit) is an open-source software toolkit for the creation and processing of network flow data.
https://www.net.in.tum.de/research/software/#vermont
GNU General Public License v2.0
58 stars 22 forks source link

TRWPortScanDetector: Provide better error messages on bad_alloc #139

Closed constcast closed 4 years ago

constcast commented 4 years ago

When TRWPortScanDetector is configured with a too big hashbit size, it will result in a bad_alloc during allocation. This change provides explanatory error messages.