mirror of
				https://github.com/webmproject/libwebp.git
				synced 2025-10-31 02:15:42 +01:00 
			
		
		
		
	Merge "VPLBitReader bugfix: Catch error if bit_pos > LBITS too."
This commit is contained in:
		| @@ -179,7 +179,7 @@ void VP8LFillBitWindow(VP8LBitReader* const br) { | ||||
|     } | ||||
| #endif | ||||
|     ShiftBytes(br);       // Slow path. | ||||
|     if (br->pos_ == br->len_ && br->bit_pos_ == LBITS) { | ||||
|     if (br->pos_ == br->len_ && br->bit_pos_ >= LBITS) { | ||||
|       br->eos_ = 1; | ||||
|     } | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user