Skip to content

Commit f439a30

Browse files
committed
Fix stack-buffer-overflow in Windows thread-naming RaiseException (x64)
Signed-off-by: subhramit <subhramit.bb@live.in>
1 parent f4525e3 commit f439a30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/steamnetworkingsockets/clientlib/steamnetworkingsockets_socketthread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3402,7 +3402,7 @@ static void SteamNetworkingThreadProc()
34023402
}
34033403
__try
34043404
{
3405-
RaiseException( 0x406D1388, 0, sizeof(info)/sizeof(DWORD), (ULONG_PTR*)&info );
3405+
RaiseException( 0x406D1388, 0, sizeof(info)/sizeof(ULONG_PTR), (ULONG_PTR*)&info );
34063406
}
34073407
__except(EXCEPTION_CONTINUE_EXECUTION)
34083408
{

0 commit comments

Comments
 (0)