summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctm
diff options
context:
space:
mode:
authorats <ats@FreeBSD.org>1994-12-01 20:20:21 +0000
committerats <ats@FreeBSD.org>1994-12-01 20:20:21 +0000
commit7a0fcd058dca864f723246bd878f131532c962b3 (patch)
treea747443e4fbee02d6b099e98e58208d1641114bf /usr.sbin/ctm
parentc07b8f0f9b3c5995554786558fb9e6e0eab0dda8 (diff)
downloadFreeBSD-src-7a0fcd058dca864f723246bd878f131532c962b3.zip
FreeBSD-src-7a0fcd058dca864f723246bd878f131532c962b3.tar.gz
The values for setrlimit in the data size and stack size case are
used as an address value. Then all comparisons should be done unsigned and not signed. Fix it with a typecast of u_quad_t. Error can be demonstrated with the current bash in port, do a ulimit -s unlimited and the machine hangs. bash delivers through an internal error a large negative value for the stacksize, the comparison saw this smaller than MAXSSIZ and then tried to expand the stack to this size.
Diffstat (limited to 'usr.sbin/ctm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud