summaryrefslogtreecommitdiff
path: root/security/mhash/files/patch-lib-mhash.c
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2009-09-10 11:50:56 +0000
committerPeter Pentchev <roam@FreeBSD.org>2009-09-10 11:50:56 +0000
commitc2de38c91db1fae8482fc79a497f83da2e3c479f (patch)
tree7db938c9e7a88cd2262304cc71f323f04355f20c /security/mhash/files/patch-lib-mhash.c
parentUpdate to the 20090908 snapshot of GCC 4.4.2. (diff)
Update to mhash-0.9.9.9.
Add descriptive headers to all the patches.
Notes
Notes: svn path=/head/; revision=241155
Diffstat (limited to 'security/mhash/files/patch-lib-mhash.c')
-rw-r--r--security/mhash/files/patch-lib-mhash.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/security/mhash/files/patch-lib-mhash.c b/security/mhash/files/patch-lib-mhash.c
index 259133ef6688..e6758c85e4cd 100644
--- a/security/mhash/files/patch-lib-mhash.c
+++ b/security/mhash/files/patch-lib-mhash.c
@@ -1,6 +1,10 @@
-diff -urN -x .svn ../../branches/vendor/mhash/lib/mhash.c ./lib/mhash.c
---- ../../branches/vendor/mhash/lib/mhash.c 2008-01-16 14:26:51.000000000 +0200
-+++ ./lib/mhash.c 2008-01-16 15:22:29.000000000 +0200
+Description: Fix a bug in checking a memory allocation's result.
+Author: Peter Pentchev <roam@FreeBSD.org>
+Forwarded: http://sourceforge.net/mailarchive/message.php?msg_name=20090910102100.GA26539%40straylight.m.ringlet.net
+Last-Update: 2009-09-10
+
+--- lib/mhash.c.orig
++++ lib/mhash.c
@@ -299,7 +299,7 @@
{
ret->hmac_key = (mutils_word8 *) mutils_malloc(ret->hmac_key_size);