diff options
| author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-15 13:50:51 +0000 |
|---|---|---|
| committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-15 13:50:51 +0000 |
| commit | 6d5b341d389a203c0862d67d5aba75f617615490 (patch) | |
| tree | 177403524afea940a2272eb7f2057dd4ed5abc89 | |
| parent | b83031262e19826d3e8997dd44781eb79ef55a0a (diff) | |
| download | ruby-6d5b341d389a203c0862d67d5aba75f617615490.tar.gz ruby-6d5b341d389a203c0862d67d5aba75f617615490.tar.xz ruby-6d5b341d389a203c0862d67d5aba75f617615490.zip | |
Add a XXX comment.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ext/digest/digest.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |
