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/ce205967a042
branches: trunk
changeset: 338056:ce205967a042
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 40a1e29e07bc -r ce205967a042 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