top: Prevent integer overflows in procs_re... REVERTED
That patch referenced below is being reverted because: . By design, no other top macro looks like a function. Instead, they all contain some minimal capitalization. The 'grow_by_size' macro stands out like a sore thumb. . We would need to approach 400+ million tasks for for the 1st addressed problem to produce integer overflow. . And a 2nd check against SSIZE_MAX remains a mystery. Me thinks a system on which top is running will suffer ENOMEM before we need to worry about integer overflow. Reference(s): . original qualys patch 0105-top-Prevent-integer-overflows-in-procs_refresh.patch commit 131e5e2f Signed-off-by:Jim Warner <james.warner@comcast.net>
Loading
Please register or sign in to comment