alpine 3.6
integer weakness #20

The software performs a calculation that can produce an integer overflow, when the logic assumes that the resulting value will always be larger than the original value.


Weakness Breakdown

Warning code(s):

Unless checked, the resulting number can exceed the expected range.

File Name:


result->partno = atoi (ptr + 6);

The registered trademark Linux® is used pursuant to a sublicense from the Linux Foundation, the exclusive licensee of Linus Torvalds, owner of the mark on a world­wide basis.