mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* ext/digest/digest.c (rb_digest_base_alloc): need to initialize
buffer. [ruby-dev:21622] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									87025fdd43
								
							
						
					
					
						commit
						0ac52b49f4
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
Wed Oct 15 13:17:02 2003  NAKAMURA Usaku <usa@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* ext/digest/digest.c (rb_digest_base_alloc): need to initialize
 | 
			
		||||
	  buffer. [ruby-dev:21622]
 | 
			
		||||
 | 
			
		||||
Wed Oct 15 11:23:05 2003  Yukihiro Matsumoto  <matz@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* marshal.c (w_object): dump extended modules as well.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -73,7 +73,7 @@ rb_digest_base_alloc(klass)
 | 
			
		|||
 | 
			
		||||
    algo = get_digest_base_metadata(klass);
 | 
			
		||||
 | 
			
		||||
    pctx = xmalloc(algo->ctx_size);
 | 
			
		||||
    pctx = xcalloc(algo->ctx_size, 1);
 | 
			
		||||
    algo->init_func(pctx);
 | 
			
		||||
 | 
			
		||||
    obj = Data_Wrap_Struct(klass, 0, free, pctx);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue