{"record":{"id":"865ffdd0bcd3507d","repo":"golang/go","slug":"errchecksum","errorCode":"ErrChecksum","errorMessage":"zip: checksum error","messagePattern":"zip: checksum error","errorType":"error_code","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/archive/zip/reader.go","lineNumber":31,"sourceCode":"\t\"hash/crc32\"\n\t\"internal/godebug\"\n\t\"io\"\n\t\"io/fs\"\n\t\"os\"\n\t\"path\"\n\t\"path/filepath\"\n\t\"slices\"\n\t\"strings\"\n\t\"sync\"\n\t\"time\"\n)\n\nvar zipinsecurepath = godebug.New(\"zipinsecurepath\")\n\nvar (\n\tErrFormat       = errors.New(\"zip: not a valid zip file\")\n\tErrAlgorithm    = errors.New(\"zip: unsupported compression algorithm\")\n\tErrChecksum     = errors.New(\"zip: checksum error\")\n\tErrInsecurePath = errors.New(\"zip: insecure file path\")\n)\n\n// A Reader serves content from a ZIP archive.\ntype Reader struct {\n\tr             io.ReaderAt\n\tFile          []*File\n\tComment       string\n\tdecompressors map[uint16]Decompressor\n\n\t// Some JAR files are zip files with a prefix that is a bash script.\n\t// The baseOffset field is the start of the zip file proper.\n\tbaseOffset int64\n\n\t// fileList is a list of files sorted by ename,\n\t// for use by the Open method.\n\tfileListOnce sync.Once\n\tfileList     []fileListEntry","sourceCodeStart":13,"sourceCodeEnd":49,"githubUrl":"https://github.com/golang/go/blob/b6b368adc57c96c3151d224d172029f233ead2c3/src/archive/zip/reader.go#L13-L49","documentation":"Error \"zip: checksum error\" thrown in golang/go.","triggerScenarios":"Thrown at src/archive/zip/reader.go:31 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"analyzedSha":"b6b368adc57c96c3151d224d172029f233ead2c3","analyzedAt":"2026-08-12T00:22:02.250Z","schemaVersion":2},"datasetVersion":"2026-08-12T06:17:24.410Z"}