#2 buffer overflow in gart.c

open
nobody
None
5
2002-06-20
2002-06-20
Anonymous
No

there exists an exploitable buffer overflow in garp.c when
USE_SOCKET is
defined:

int main(int argc,char *argv[])
{
...
#if defined(USE_SOCKET)
struct sockaddr sa;
#endif
...
ifarg = argv[1];
...
#if defined(USE_SOCKET)
strcpy(sa.sa_data,ifarg); <- bang

i understand it's rare that this code would be used, as most
modern
systems will have bpf or dlpi. nonetheless...

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks