Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIncompleteIDATOnRowBoundary (0.41 sec)

  1. src/image/png/reader_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if !reflect.DeepEqual(a, b) {
    		t.Fatalf("decodings differ:\nnon-interlaced:\n%#v\ninterlaced:\n%#v", a, b)
    	}
    }
    
    func TestIncompleteIDATOnRowBoundary(t *testing.T) {
    	// The following is an invalid 1x2 grayscale PNG image. The header is OK,
    	// but the zlib-compressed IDAT payload contains two bytes "\x02\x00",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 24 12:12:12 UTC 2022
    - 28.5K bytes
    - Viewed (0)
Back to top