]> git.eshelyaron.com Git - emacs.git/commit
Fix uninitalized value in encode_coding_object
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 28 Jul 2015 06:18:14 +0000 (23:18 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 28 Jul 2015 06:40:27 +0000 (23:40 -0700)
commitf5dc3cf21cf6d6f51c096262225fcb96a8a7f126
tree21f6874e597cc75b5bf881dbf538ed2dc223cbbd
parentbb8ec488fc2d53ea0dd2a517b78d40457fb5368f
Fix uninitalized value in encode_coding_object

* src/coding.c (encode_coding_object): Also initialize
coding->src_pos and coding->src_pos_byte when NILP (src_object).
This avoids later use of uninitialized storage.
src/coding.c