[SDL] [SDL_net] Limits
clemens at 1541.org
Sun Jan 8 02:04:56 PST 2006
Simon <simon.xhz at gmail.com> wrote:
> > Network programming has so many nasty what-if situations. :)
> True, that's why I was asking about the limits in the first place...
> it seems nobody ever tried to find vulnerabilities in SDL-based code,
> or are there anybody who tried?
i don't think there are any, at least not in the linux/win32 codepath.
SDL_net is a rather thin layer around bind/accept/connect/send/receive
so it does no buffering or threading on its own which is most error
prone in network code.
> Anyway, I will be working on a first draft soon and I will possibly
> try to crash it all ways possible and find the limits the hard way.
> I wonder how the base library is strong against buffer overflows,
best regards ...
More information about the SDL