Skip to content

Commit ed04a34

Browse files
authored
Merge pull request #33 from mattn/master
Merge upstream
2 parents 241bc71 + 348128f commit ed04a34

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/cifuzz.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
dry-run: false
2323
sanitizer: ${{ matrix.sanitizer }}
2424
- name: Upload Crash
25-
uses: actions/upload-artifact@v1
25+
uses: actions/upload-artifact@v4
2626
if: failure()
2727
with:
2828
name: ${{ matrix.sanitizer }}-artifacts

sqlite3.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,7 @@ func (c *SQLiteConn) query(ctx context.Context, query string, args []driver.Name
942942
s.(*SQLiteStmt).cls = true
943943
na := s.NumInput()
944944
if len(args)-start < na {
945+
s.Close()
945946
return nil, fmt.Errorf("not enough args to execute query: want %d got %d", na, len(args)-start)
946947
}
947948
// consume the number of arguments used in the current

0 commit comments

Comments
 (0)