diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-06-02 17:05:59 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-06-02 17:05:59 +0000 |
commit | 3e0fbf977ee29f5c00b02a950ef707d80d43b05c (patch) | |
tree | d05e9407a91e79a99804c84026d1d71619a304c9 /sys/dev/usb | |
parent | 644633351bb4598cb9f119a1ab301a6f19f6b75f (diff) |
Prevent vsize_t underflow when checking RLIMIT_DATA, which made the
check ineffective when you already had more memory than your limit
allowed.
I noticed after writing this diff that millert@ already committed a fix
for this in rev. 1.74 (2009/06/01), but it got backed out with the giant
pmemrange backout two weeks later and was never restored.
OK tedu@ ("just fix it" and "go ahead with your version")
stefan@ also agrees that a check is needed.
Diffstat (limited to 'sys/dev/usb')
0 files changed, 0 insertions, 0 deletions