From: deraadt Date: Mon, 5 Feb 2018 03:16:10 +0000 (+0000) Subject: CKSUM_DIGEST_STRING_LENGTH bounding didn't include full range of size_t X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5dd2dfae74aa40b2077821c63d21b1ba2216d952;p=openbsd CKSUM_DIGEST_STRING_LENGTH bounding didn't include full range of size_t and NUL ok millert krw tb --- diff --git a/bin/md5/crc.h b/bin/md5/crc.h index d47eceb7841..b04c43fb707 100644 --- 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 @@ -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;