Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for numero (0.15 sec)

  1. src/archive/zip/reader_test.go

    	}
    	r, err := NewReader(bytes.NewReader(b.Bytes()), int64(b.Len()))
    	if err != nil {
    		t.Fatalf("NewReader failed: %s", err)
    	}
    	if len(r.File) != 5 {
    		t.Errorf("Archive has unexpected number of files, got %d, want 5", len(r.File))
    	}
    }
    
    func TestCVE202139293(t *testing.T) {
    	// directory size is so large, that the check in Reader.init
    	// overflows when subtracting from the archive size, causing
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  2. src/archive/tar/reader_test.go

    			Uid:      010000000,
    			ModTime:  time.Unix(0, 0),
    			Typeflag: '0',
    		}},
    	}, {
    		// USTAR archive with a regular entry with non-zero device numbers.
    		file: "testdata/ustar-file-devs.tar",
    		headers: []*Header{{
    			Name:     "file",
    			Mode:     0644,
    			Typeflag: '0',
    			ModTime:  time.Unix(0, 0),
    			Devmajor: 1,
    			Devminor: 1,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
Back to top