alpine 3.6
integer weakness #60

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.

2

Weakness Breakdown


Warning code(s):

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

File Name:

./src/Droplet-2.0/examples/srwskey.c

Context:
cos = atoi(argv[1]);

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.