flawfinder
flawfinder copied to clipboard
Declaration of simple C++ method named "read()" triggers CWE-
This C++ template method header declaration:
template <typename T, typename std::enable_if<std::is_base_of<icp::model::Model, T>::value>::type* = nullptr>
T read(std::istream& in);
triggered a false positive:
sdk/serialization.h:17: [1] (buffer) read:Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20).