code-buster 0.10.0

Repository-aware static analysis for AI-assisted development
Documentation
{
  "id": "go-sql-rows-error-not-checked",
  "language": "go",
  "group": "correctness",
  "listingTitle": "Check Go SQL row iteration errors",
  "title": "Check Go SQL row iteration errors",
  "mvvm": false,
  "defaultSeverity": "warn",
  "legacyGroup": "correctness",
  "why": "Rows.Next can stop because iteration failed, and omitting Rows.Err can convert a partial result into apparent success.",
  "suggestion": "After the iteration loop, check rows.Err() and propagate or handle the error.",
  "version": 1,
  "semanticMaturity": "token",
  "securityKind": "none",
  "taxonomy": [
    "correctness"
  ],
  "requirements": [
    "functions"
  ],
  "packs": [
    "go"
  ],
  "implementation": "src/languages/go/rules.rs",
  "languages": [
    "go"
  ],
  "frameworks": [],
  "languageVersions": [
    [
      "go",
      ">=1.13"
    ]
  ],
  "limitations": []
}