artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a38d3b9
)
CKSUM_DIGEST_STRING_LENGTH bounding didn't include full range of size_t
author
deraadt
<deraadt@openbsd.org>
Mon, 5 Feb 2018 03:16:10 +0000
(
03:16
+0000)
committer
deraadt
<deraadt@openbsd.org>
Mon, 5 Feb 2018 03:16:10 +0000
(
03:16
+0000)
and NUL
ok millert krw tb
bin/md5/crc.h
patch
|
blob
|
history
diff --git
a/bin/md5/crc.h
b/bin/md5/crc.h
index
d47eceb
..
b04c43f
100644
(file)
--- a/
bin/md5/crc.h
+++ b/
bin/md5/crc.h
@@
-1,4
+1,4
@@
-/* $OpenBSD: crc.h,v 1.
2 2014/03/20 22:03:56 tedu Exp $
*/
+/* $OpenBSD: crc.h,v 1.
3 2018/02/05 03:16:10 deraadt Exp $
*/
/*
* Copyright (c) 2004 Todd C. Miller <Todd.Miller@courtesan.com>
@@
-17,7
+17,7
@@
*/
#define CKSUM_DIGEST_LENGTH 4
-#define CKSUM_DIGEST_STRING_LENGTH (10 + 1 +
19
)
+#define CKSUM_DIGEST_STRING_LENGTH (10 + 1 +
20 + 1
)
typedef struct CKSUMContext {
u_int32_t crc;