summaryrefslogtreecommitdiff
path: root/ext/digest/digest.c
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-15 13:50:51 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-15 13:50:51 +0000
commitc1b6f966bef5ee3ea3e08ad29c3616354d0e4ef8 (patch)
tree177403524afea940a2272eb7f2057dd4ed5abc89 /ext/digest/digest.c
parent57292a2ab458a6681c8ac3ccc1a43d74360303e3 (diff)
Add a XXX comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest/digest.c')
-rw-r--r--ext/digest/digest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/digest/digest.c b/ext/digest/digest.c
index a575188..c570055 100644
--- a/ext/digest/digest.c
+++ b/ext/digest/digest.c
@@ -73,6 +73,7 @@ rb_digest_base_alloc(klass)
algo = get_digest_base_metadata(klass);
+ /* XXX: An uninitialized buffer leads ALGO_Equal() to fail */
pctx = xcalloc(algo->ctx_size, 1);
algo->init_func(pctx);