]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
In winnt_accept() (server/mpm/winnt/child.c), there's a call to PostQueuedCompletionS...
authorChristophe Jaillet <jailletc36@apache.org>
Mon, 6 Jan 2020 21:29:42 +0000 (21:29 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Mon, 6 Jan 2020 21:29:42 +0000 (21:29 +0000)
commit556fdf0dd34b1678ae254ca5dd3f41cf7832235c
tree622b7f068cd5019243c3a89eeda172cee6f4b1e5
parent93c675eadef54a42e876aabdc7fe67779b4343f1
In winnt_accept() (server/mpm/winnt/child.c), there's a call to PostQueuedCompletionStatus() with a buffer (BytesRead) for the number of bytes read.

When compiling the code with Visual Studio 2019 (v 16.3.10), we get a warning than BytesRead is not initialized. When using /RTCu (run-time checks for uninitialzed variables), the program crashes on this line with an exception.

If we initialize the variable to 0, the problem is solved.

PR 63965

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872394 13f79535-47bb-0310-9956-ffa450edef68
server/mpm/winnt/child.c