The get_types() implementation has two flaws. First, the use of calloc()
is vulnerable to overflow if length is huge. Second, we attempt to zero
the allocation, but only zero the first element by mistake.
These issues were found by the Ubuntu Security Team. Thank you!
The get_types() implementation has two flaws. First, the use of calloc() is vulnerable to overflow if length is huge. Second, we attempt to zero the allocation, but only zero the first element by mistake.
These issues were found by the Ubuntu Security Team. Thank you!