From 6d5b341d389a203c0862d67d5aba75f617615490 Mon Sep 17 00:00:00 2001 From: knu Date: Wed, 15 Oct 2003 13:50:51 +0000 Subject: Add a XXX comment. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/digest/digest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/digest/digest.c b/ext/digest/digest.c index a57518890..c57005532 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); -- cgit