mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-03 12:57:27 +00:00
The staging buffer was sized by the guest's nevents, so a request for INT_MAX events allocated about 64 GiB before the queue reported how many were pending. It's now bounded at 1024 events; kevent may return fewer than requested, and events left in the queue come back on the next call. The test covers an INT_MAX request and a 1030-event queue, and moves away from the end of StandardInput and the start of main, where #9575 and #10014 also add tests.