[Bug 15084] ReadConsoleInputW() handles a NULL lpNumberOfEventsRead parameter incorrectly

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Feb 12 16:03:37 CST 2017


https://bugs.winehq.org/show_bug.cgi?id=15084

Alex Henrie <alexhenrie24 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexhenrie24 at gmail.com

--- Comment #10 from Alex Henrie <alexhenrie24 at gmail.com> ---
Created attachment 57273
  --> https://bugs.winehq.org/attachment.cgi?id=57273
Test case and results

I played around with this today and Windows does not appear to handle this case
consistently. The first time you call ReadConsoleInputW with a NULL count
pointer, you get an error (or it just crashes), but if you call
ReadConsoleInputW again with the same parameters, it pauses and waits for
input. So, Wine's behavior here is not obviously incorrect.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list