[gs-commits] mupdf/master - 0_6-249-g3db137b - Initialize variable for AES decoding.

Tor Andersson tor at ghostscript.com
Tue Aug 3 12:09:48 UTC 2010


commit 3db137b270f4c337eb84238c410b589819cb2eaa
Author: Sebastian Rasmussen <sebras at hotmail.com>
Date:   Mon Aug 2 00:20:47 2010 +0000

    Initialize variable for AES decoding.
    
    Ignore-this: f31243ee9085d99ea6d711d03d02eb79
    
    darcs-hash:20100802002047-86a4e-3f51b45cb448e6427e3877dd218d40da1ed595bf.gz

 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fitz/filt_basic.c b/fitz/filt_basic.c
index 2faf2dd..e5c5451 100644
--- a/fitz/filt_basic.c
+++ b/fitz/filt_basic.c
@@ -490,6 +490,7 @@ fz_openaesd(fz_stream *chain, unsigned char *key, unsigned keylen)
 	state->chain = chain;
 	aes_setkey_dec(&state->aes, key, keylen * 8);
 	state->ivcount = 0;
+	state->remain = 0;
 
 	return fz_newstream(state, readaesd, closeaesd);
 }

--
git/hooks/post-receive


More information about the gs-commits mailing list