Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestBaseOffsetPlusOverflow (0.2 sec)

  1. src/archive/zip/reader_test.go

    		if err != nil {
    			t.Fatalf("unexpected error: %v", err)
    		}
    		if _, err := io.Copy(io.Discard, r); err != nil {
    			t.Fatalf("unexpected error: %v", err)
    		}
    	}
    }
    
    func TestBaseOffsetPlusOverflow(t *testing.T) {
    	// directoryOffset > maxInt64 && size-directoryOffset < 0
    	data := []byte{
    		0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
    		0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
Back to top