blob: f57d49c0eed52f45474f5444d7cb726d94390044 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
http://bugs.gentoo.org/292011
revision 1.21
date: 2009/04/21 00:59:16; author: plougher; state: Exp; lines: +1 -1
Fix return in read_fragment_table_4
Index: squashfs-tools/unsquash-4.c
===================================================================
RCS file: /cvsroot/squashfs/squashfs/squashfs-tools/unsquash-4.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -p -r1.20 -r1.21
--- squashfs-tools/unsquash-4.c 31 Mar 2009 04:38:53 -0000 1.20
+++ squashfs-tools/unsquash-4.c 21 Apr 2009 00:59:16 -0000 1.21
@@ -38,7 +38,7 @@ int read_fragment_table_4()
sBlk.fragment_table_start);
if(sBlk.fragments == 0)
- return;
+ return TRUE;
if((fragment_table = malloc(sBlk.fragments *
sizeof(squashfs_fragment_entry))) == NULL)
|