)]}'
{
  "commit": "98e16a16034c77c1277b41cc21915b70fa4631bc",
  "tree": "822aa7993e232854a0fc867c238d2e9ea0525c24",
  "parents": [
    "5704a06efacab353b09857e331419f4f02bf3e95"
  ],
  "author": {
    "name": "KBS",
    "email": "youdie006@naver.com",
    "time": "Thu Oct 22 12:58:39 2026"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Oct 22 12:58:39 2026"
  },
  "message": "netstat: check the scanner result and error (#868)\n\nparseNetstat discards the first Scan result and never calls Err, so a\nscanner failure is invisible. The loop then returns netStat, nil with\nwhatever was parsed before the failure, and the caller cannot tell a\nshort read from a complete one.\n\nThe header case is worse than a lost error. After Scan reports false\nfor a too-long token, the next Scan returns true with the bytes already\nbuffered, so headers stays empty while the counter loop runs, and\nheaders[num] panics with index out of range.\n\nnet_dev.go, net_sockstat.go, net_unix.go and stat.go all end their scan\nwith scanner.Err(); this is the outlier.\n\nSigned-off-by: manon \u003cyoudie006@users.noreply.github.com\u003e\nCo-authored-by: manon \u003cyoudie006@users.noreply.github.com\u003e\nCo-authored-by: Ben Kochie \u003csuperq@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dbdae473924b0ab03c610cc9380340f04dcd561f",
      "old_mode": 33188,
      "old_path": "netstat.go",
      "new_id": "6196b3fd996da7ada60627addde7b5ae31c2d4af",
      "new_mode": 33188,
      "new_path": "netstat.go"
    },
    {
      "type": "modify",
      "old_id": "dec77ab037f9ec71154790146beae5b04e96e265",
      "old_mode": 33188,
      "old_path": "netstat_test.go",
      "new_id": "a0d5a5ac8c9ecc4d5cf5e659b5f8019a20487021",
      "new_mode": 33188,
      "new_path": "netstat_test.go"
    }
  ]
}
