Raised This Month: $32 Target: $400
 8% 

socket_recv() crash when stressing


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 05-17-2016 , 12:55   socket_recv() crash when stressing
Reply With Quote #1

You can ignore this, but I'll leave it for the sake of "new x[]" vs. "malloc()" for Arkshine to consider. However I realize that it might not have crashed if I hand't sent it a negative number...
The problem was that when using chunked transfers it passed the next size marker and I tried to allocate -166B. I feel like a moron now.
Spoiler
Attached Files
File Type: inc httpx.inc (7.8 KB, 37 views)
File Type: sma Get Plugin or Get Source (httpx.sma - 376 views - 41.3 KB)
File Type: sma Get Plugin or Get Source (test5.sma - 363 views - 797 Bytes)
__________________

Last edited by Black Rose; 05-17-2016 at 15:58.
Black Rose is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode