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

2025-01-21 Thread Corinna Vinschen
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 > Addresses: https://cygwin.com/pipermail/cygwin/2025-January/257090.html > Signed-off-by: Mark Geisert > F

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

2025-01-19 Thread Mark Geisert
Validate the fd returned by cygheap_getfd operating on given mqd. A release note is provided for 3.5.6. Reported-by: Christian Franke Addresses: https://cygwin.com/pipermail/cygwin/2025-January/257090.html Signed-off-by: Mark Geisert Fixes: 46f3b0ce85a9 (Cygwin: POSIX msg queues: move all mq_* f