This is the mail archive of the cygwin-patches 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: [PATCH] cygwin_rexec() returns pointer to deallocated memory


On 26/05/14 14:36, Peter Rosin wrote:
I believe the comment refers to if "static" is the right answer to the
problem. Is there a need to handle concurrent calls?

I can't really comment on that. As the code stands, neither of the two functions that we are discussing are reentrant. As long as the author and the user(s) of the routines are both aware of that then it isn't a problem.

I was just trying to fix a coding error that was picked up by Coverity Scan; it wasn't my intention to question the design.

Cheers,

Dave.


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