[Mplayer-cvslog] CVS: main/libmpdemux network.c,1.19,1.20
pl
pl at mplayer.dev.hu
Tue Dec 25 17:36:00 CET 2001
Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv8274/libmpdemux
Modified Files:
network.c
Log Message:
possible uninit pointer free()'d
possible bad pointer
Index: network.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/network.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- network.c 23 Dec 2001 22:08:47 -0000 1.19
+++ network.c 25 Dec 2001 16:35:57 -0000 1.20
@@ -451,10 +451,9 @@
fd = -1;
}
stream->fd = fd;
+ http_free( http_hdr );
}
- http_free( http_hdr );
-
stream->streaming_ctrl->streaming_read = nop_streaming_read;
stream->streaming_ctrl->streaming_seek = nop_streaming_seek;
stream->streaming_ctrl->prebuffer_size = 180000;
@@ -543,7 +542,7 @@
streaming_ctrl_t *streaming_ctrl;
int fd;
- if( streaming_ctrl==NULL ) return -1;
+ if( stream==NULL ) return -1;
streaming_ctrl = stream->streaming_ctrl;
fd = stream->fd;
More information about the MPlayer-cvslog
mailing list