mirror of
				https://invent.kde.org/frameworks/kimageformats.git
				synced 2025-11-03 13:24:20 -05:00 
			
		
		
		
	rgb: fix crash in fuzzed file
This commit is contained in:
		@ -144,6 +144,9 @@ bool SGIImage::getRow(uchar *dest)
 | 
			
		||||
        if (_bpc == 2) {
 | 
			
		||||
            _pos++;
 | 
			
		||||
        }
 | 
			
		||||
        if (_pos >= _data.end()) {
 | 
			
		||||
            return false;
 | 
			
		||||
        }
 | 
			
		||||
        n = *_pos & 0x7f;
 | 
			
		||||
        if (!n) {
 | 
			
		||||
            break;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user