]> granicus.if.org Git - procps-ng/commit
library: protect against large version numbers.
authorCraig Small <csmall@enc.com.au>
Sun, 1 May 2016 07:14:48 +0000 (17:14 +1000)
committerCraig Small <csmall@enc.com.au>
Sun, 1 May 2016 07:14:48 +0000 (17:14 +1000)
commit9abf7d879d07c140a265b9f8efb642fdb5bd06b3
treeff09289135f46e92c71c641722cd5720ee470226
parent6b5cb345c5be6beeec74409657c8ebf9e8869d92
library: protect against large version numbers.

Linux release numbers are x.y.z we assumed but never protected
against x> 0x7fff and y,z > 0xff before.

Linux release in 1991, 1 major release per 6 years so we're fine
until 7452, unless they do way too many minor rels (max being 39)
doc/procps_linux_version.3
proc/version.h