Potential bug related to error checking.

Open
#11 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
go
Domain
backend

Research direction

Read pkg/tar-diff/diff.go at lines 298-302 and trace the surrounding error-handling path. Determine whether returning nil instead of err is intentional; done means confirming the behavior and documenting the rationale or providing a focused correction if it is a bug.

Written by the indexing model from the issue text.

Description

I believe I found a potential bug in this piece of code:

https://github.com/containers/tar-diff/blob/f08980f165b5b4e50c466a695b906b9b28069c6c/pkg/tar-diff/diff.go#L298-L302

Is returning nil instead of err intentional here?

Dominant language
Go
Stars
66
Forks
27
Avg merge
14d 3h
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from containers/tar-diff

All issues in containers/tar-diff

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.