[Mplayer-cvslog] CVS: main/libmpdvdkit2 dvd_input.c,1.2,1.3
Dmitry Baryshkov CVS
lumag at mplayerhq.hu
Sun Jan 11 19:56:50 CET 2004
- Previous message: [Mplayer-cvslog] CVS: main/libmpdemux Makefile, 1.72, 1.73 ai_alsa1x.c, 1.5, 1.6 audio_in.c, 1.8, 1.9 audio_in.h, 1.3, 1.4 tv.c, 1.64, 1.65 tv.h, 1.27, 1.28 tvi_v4l.c, 1.68, 1.69 tvi_v4l2.c, 1.10, 1.11
- Next message: [Mplayer-cvslog] CVS: main/libmpdvdkit2 dvd_input.c,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libmpdvdkit2
In directory mail:/scsi/2/tmp/cvs-serv28557
Modified Files:
dvd_input.c
Log Message:
Fix (possible) memory corruption. dvd_input_t is pointer to struct dvd_input_s and not a struct.
Index: dvd_input.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdvdkit2/dvd_input.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- dvd_input.c 16 Aug 2002 22:50:21 -0000 1.2
+++ dvd_input.c 11 Jan 2004 18:56:48 -0000 1.3
@@ -53,7 +53,7 @@
dvd_input_t dev;
/* Allocate the handle structure */
- dev = (dvd_input_t) malloc(sizeof(dvd_input_t));
+ dev = (dvd_input_t) malloc(sizeof(struct dvd_input_s));
if(dev == NULL) {
fprintf(stderr, "libdvdread: Could not allocate memory.\n");
return NULL;
- Previous message: [Mplayer-cvslog] CVS: main/libmpdemux Makefile, 1.72, 1.73 ai_alsa1x.c, 1.5, 1.6 audio_in.c, 1.8, 1.9 audio_in.h, 1.3, 1.4 tv.c, 1.64, 1.65 tv.h, 1.27, 1.28 tvi_v4l.c, 1.68, 1.69 tvi_v4l2.c, 1.10, 1.11
- Next message: [Mplayer-cvslog] CVS: main/libmpdvdkit2 dvd_input.c,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list