[Mplayer-cvslog] CVS: main unrarlib.c,1.5,1.6
Alban Bedel CVS
albeu at mplayerhq.hu
Sun Oct 5 12:35:37 CEST 2003
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv28682
Modified Files:
unrarlib.c
Log Message:
100L fix the bug added by last commit
Index: unrarlib.c
===================================================================
RCS file: /cvsroot/mplayer/main/unrarlib.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- unrarlib.c 5 Sep 2003 15:31:32 -0000 1.5
+++ unrarlib.c 5 Oct 2003 10:35:10 -0000 1.6
@@ -711,7 +711,7 @@
if((FILE_HEAD == BlockType) && (Size>0))
{
- NewLhd.NameSize=Min(NewLhd.NameSize,sizeof(ArcFileName)-1);
+ ArcFileName=realloc(ArcFileName,NewLhd.NameSize+1);
#ifdef _USE_MEMORY_TO_MEMORY_DECOMPRESSION
tread(MemRARFile, ArcFileName, NewLhd.NameSize);
#else
More information about the MPlayer-cvslog
mailing list