[PATCH v2] Cygwin: Add fd validation where needed in mq_* functions

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Jan 21 13:47:08 GMT 2025


Hi Mark,

On Jan 19 21:59, Mark Geisert wrote:
> Validate the fd returned by cygheap_getfd operating on given mqd.
> A release note is provided for 3.5.6.
> 
> Reported-by: Christian Franke <Christian.Franke@t-online.de>
> Addresses: https://cygwin.com/pipermail/cygwin/2025-January/257090.html
> Signed-off-by: Mark Geisert <mark@maxrnd.com>
> Fixes: 46f3b0ce85a9 (Cygwin: POSIX msg queues: move all mq_* functionality into fhandler_mqueue)

LGTM.  I'll push it after Takshi pushed his signal patchset.


Thanks,
Corinna


More information about the Cygwin-patches mailing list