From 0f50542d8d9e0dae17041cbf47092d2661a1f459 Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Tue, 28 Jul 2020 22:17:31 -0700 Subject: [PATCH] Fixed typo in Windows Server 2012 fix. I meant to pass bytesRead, not bufferLen --- microstack/ILibParsers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/microstack/ILibParsers.c b/microstack/ILibParsers.c index 0f72a3a..a289b91 100644 --- a/microstack/ILibParsers.c +++ b/microstack/ILibParsers.c @@ -3333,7 +3333,7 @@ void ILibChain_ReadEx2(void *chain, HANDLE h, OVERLAPPED *p, char *buffer, int b state->handler = handler; state->fileHandle = h; state->user = user; - state->p = (void*)(uintptr_t)bufferLen; + state->p = (void*)(uintptr_t)bytesRead; ILibChain_RunOnMicrostackThreadEx2(chain, ILibChain_ReadEx2_UnwindHandler, state, 1); }