hal/tools fstab-sync.c,1.27,1.27.2.1
David Zeuthen
david at freedesktop.org
Wed Dec 8 19:19:12 PST 2004
Update of /cvs/hal/hal/tools
In directory gabe:/tmp/cvs-serv21920/tools
Modified Files:
Tag: hal-0_4-stable-branch
fstab-sync.c
Log Message:
2004-12-08 David Zeuthen <davidz at redhat.com>
* tools/fstab-sync.c (fs_table_line_is_mounted): Patch from Sjoerd
Simons <sjoerd at luon.net>. Running fclose on some random memory
will crash the program. Fixed in attached patch.
Index: fstab-sync.c
===================================================================
RCS file: /cvs/hal/hal/tools/fstab-sync.c,v
retrieving revision 1.27
retrieving revision 1.27.2.1
diff -u -d -r1.27 -r1.27.2.1
--- fstab-sync.c 21 Oct 2004 21:27:44 -0000 1.27
+++ fstab-sync.c 9 Dec 2004 03:19:10 -0000 1.27.2.1
@@ -1506,7 +1506,7 @@
static boolean fs_table_line_is_mounted (FSTableLine *line)
{
- FILE *f;
+ FILE *f = NULL;
boolean is_mounted = FALSE;
struct mntent *m;
More information about the hal-commit
mailing list