Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/public-domain/xz/dist/src/xz CID 1268629: Don't der...
details: https://anonhg.NetBSD.org/src/rev/11ad4465628d
branches: trunk
changeset: 808198:11ad4465628d
user: christos <christos%NetBSD.org@localhost>
date: Sat May 09 15:28:25 2015 +0000
description:
CID 1268629: Don't deref NULL (can't happen unless count is incorrect;
code safety).
diffstat:
external/public-domain/xz/dist/src/xz/args.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 64e5ad0517e0 -r 11ad4465628d external/public-domain/xz/dist/src/xz/args.c
--- a/external/public-domain/xz/dist/src/xz/args.c Sat May 09 15:24:56 2015 +0000
+++ b/external/public-domain/xz/dist/src/xz/args.c Sat May 09 15:28:25 2015 +0000
@@ -107,6 +107,8 @@
}
}
+ if (p == NULL)
+ break;
str = p + 1;
}
Home |
Main Index |
Thread Index |
Old Index