https://bz.apache.org/bugzilla/show_bug.cgi?id=63965

            Bug ID: 63965
           Summary: Uninitialized variable in winnt_accept()
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Platform
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to