[Implemented] security vulnerability in network lib

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
cxAlex
User
User
Posts: 88
Joined: Fri Oct 24, 2008 11:29 pm
Location: Austria
Contact:

[Implemented] security vulnerability in network lib

Post by cxAlex »

If a file is send to a server with SendNetworkFile(), all other incoming data is blocked until the file is received. There is no way to cancel the receiving of the file, i have to save the file on my HDD or the server won't work any more. If a program doesn't checks the #PB_Network_File - Event, that's an easy way to crash the server.

There should be a command like BlockNetworkFile() to block Files, or a command to disable the receiving of files generally.
Tranquil
Addict
Addict
Posts: 952
Joined: Mon Apr 28, 2003 2:22 pm
Location: Europe

Post by Tranquil »

Would be nice if SendNetworkFile() can be disabled on server creation. Something like #PB_Network_NoSendFile or something similar.

I absolutely agrree with cxAlex - this function is a must have!
Tranquil
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Post by nco2k »

agreed.

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
Post Reply