What a terrible use-after-free
This commit is contained in:
parent
310a1a5a66
commit
ca657fc91e
@ -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 @@ error_exit:
|
||||
free(pmp);
|
||||
}
|
||||
errno = error;
|
||||
return pmp;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user