ValveSoftware/source-sdk-2013 — pull request #91 by Sandern (2013-07-08 17:29:32+00:00)
Title: Fixed arguments passed in the incorrect order in CFileSystemPassThru::AllocOptimalReadBuffer

Arguments are passed in the incorrect order in the function CFileSystemPassThru::AllocOptimalReadBuffer (nSize and nOffset get swapped), which can result in incorrect behavior. This interface is used in VMPI according to the comments in the header.

Anyone using the CFileSystemPassThru interface to override a filesystem function in the Client or Server DLL will likely run into this problem.