mirror of
				https://github.com/eledio-devices/thirdparty-miniz.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	Merge pull request #189 from maroneze/master
avoid use of uninitialized value in tdefl_record_literal
This commit is contained in:
		| @@ -1333,6 +1333,7 @@ tdefl_status tdefl_init(tdefl_compressor *d, tdefl_put_buf_func_ptr pPut_buf_fun | |||||||
|     d->m_output_flush_ofs = d->m_output_flush_remaining = d->m_finished = d->m_block_index = d->m_bit_buffer = d->m_wants_to_finish = 0; |     d->m_output_flush_ofs = d->m_output_flush_remaining = d->m_finished = d->m_block_index = d->m_bit_buffer = d->m_wants_to_finish = 0; | ||||||
|     d->m_pLZ_code_buf = d->m_lz_code_buf + 1; |     d->m_pLZ_code_buf = d->m_lz_code_buf + 1; | ||||||
|     d->m_pLZ_flags = d->m_lz_code_buf; |     d->m_pLZ_flags = d->m_lz_code_buf; | ||||||
|  |     *d->m_pLZ_flags = 0; | ||||||
|     d->m_num_flags_left = 8; |     d->m_num_flags_left = 8; | ||||||
|     d->m_pOutput_buf = d->m_output_buf; |     d->m_pOutput_buf = d->m_output_buf; | ||||||
|     d->m_pOutput_buf_end = d->m_output_buf; |     d->m_pOutput_buf_end = d->m_output_buf; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user