Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make CID 1025009: Fix wrong code (NULL deref)
details: https://anonhg.NetBSD.org/src/rev/8dce1b14068b
branches: trunk
changeset: 343801:8dce1b14068b
user: christos <christos%NetBSD.org@localhost>
date: Sat Feb 27 16:20:06 2016 +0000
description:
CID 1025009: Fix wrong code (NULL deref)
diffstat:
usr.bin/make/meta.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 8f9d80d47898 -r 8dce1b14068b usr.bin/make/meta.c
--- a/usr.bin/make/meta.c Sat Feb 27 16:18:47 2016 +0000
+++ b/usr.bin/make/meta.c Sat Feb 27 16:20:06 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: meta.c,v 1.51 2016/02/27 16:18:47 christos Exp $ */
+/* $NetBSD: meta.c,v 1.52 2016/02/27 16:20:06 christos Exp $ */
/*
* Implement 'meta' mode.
@@ -683,9 +683,9 @@
if (job != NULL) {
pbm = &job->bm;
- } else {
if (!gn)
gn = job->node;
+ } else {
pbm = &Mybm;
}
if (pbm->mfp != NULL) {
Home |
Main Index |
Thread Index |
Old Index