This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setrlimit() does not check for excess "cur" values


On Wed, May 01, 2013 at 06:14:47PM +0000, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote:
>It looks like Cygwin's implementation of setrlimit() does not check
>whether a "cur" value being set for a resource has been requested
>higher than the "max" value.  It should have returned EINVAL.

Thanks for the test case.  I've checked in a fix to CVS.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]