]> granicus.if.org Git - procps-ng/commit
ps/sortformat.c: Double-check chars in verify_short_sort().
authorQualys Security Advisory <qsa@qualys.com>
Thu, 1 Jan 1970 00:00:00 +0000 (00:00 +0000)
committerCraig Small <csmall@enc.com.au>
Fri, 18 May 2018 21:32:22 +0000 (07:32 +1000)
commitdb00f54f4a3f2ae21a1e8e401e6b01968a88c514
tree0f8829d09ed6984cb4afb5249893fbd00d4456ba
parentafca7eee7501480d475fdfacaa5ea195c8d52e67
ps/sortformat.c: Double-check chars in verify_short_sort().

To avoid an out-of-bounds access at checkoff[tmp]. The strspn() at the
beginning of the function protects against it already, but double-check
this in case of some future change.
ps/sortformat.c