mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
82b07bd048
Error: INTEGER_OVERFLOW (CWE-190): tdb-1.4.10/pytdb.c:401: cast_overflow: Truncation due to cast operation on "num_values" from 64 to 32 bits. tdb-1.4.10/pytdb.c:401: overflow_sink: "num_values", which might have overflowed, is passed to "tdb_storev(self->ctx, key, values, num_values, flag)". 399| } 400| 401|-> ret = tdb_storev(self->ctx, key, values, num_values, flag); 402| free(values); 403| PyErr_TDB_ERROR_IS_ERR_RAISE(ret, self->ctx); Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>