alpine 3.6
integer weakness #80

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/GraphicsMagick-1.3.27/tests/rwblob.c

Context:
imageInfo->quality=atol(argv[++arg]);

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.