Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/makefs/msdos What a terrible use-after-free
details: https://anonhg.NetBSD.org/src/rev/e4fc23d93e9e
branches: trunk
changeset: 797210:e4fc23d93e9e
user: maxv <maxv%NetBSD.org@localhost>
date: Wed Jul 09 06:04:16 2014 +0000
description:
What a terrible use-after-free
diffstat:
usr.sbin/makefs/msdos/msdosfs_vfsops.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r b331adb01981 -r e4fc23d93e9e usr.sbin/makefs/msdos/msdosfs_vfsops.c
--- a/usr.sbin/makefs/msdos/msdosfs_vfsops.c Wed Jul 09 05:50:51 2014 +0000
+++ b/usr.sbin/makefs/msdos/msdosfs_vfsops.c Wed Jul 09 06:04:16 2014 +0000
@@ -50,7 +50,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: msdosfs_vfsops.c,v 1.7 2013/01/30 19:19:19 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: msdosfs_vfsops.c,v 1.8 2014/07/09 06:04:16 maxv Exp $");
#include <sys/param.h>
@@ -407,7 +407,7 @@
free(pmp);
}
errno = error;
- return pmp;
+ return NULL;
}
int
Home |
Main Index |
Thread Index |
Old Index