Closed Bug 562855 Opened 15 years ago Closed 15 years ago

hook_sqlite_mutex in test_true_async.cpp should check the return value from sqlite3_initialize() and sqlite3_shutdown()

Categories

(Core :: SQLite and Embedded Database Bindings, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla1.9.3a5

People

(Reporter: timeless, Assigned: timeless)

References

(Blocks 1 open bug)

Details

(Keywords: coverity)

Attachments

(1 file, 1 obsolete file)

storage/test/test_true_async.cpp doesn't check the return value from sqlite3_initialize() it can fail and is generally checked
Attached patch patch (obsolete) — Splinter Review
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #442612 - Flags: review?(bugmail)
Comment on attachment 442612 [details] [diff] [review] patch sure. why aren't you adding a check for sqlite3_shutdown too? does it return failure?
Attachment #442612 - Flags: review?(bugmail) → review+
Whiteboard: [timeless: needs answer to comment 2]
i'm not really systematically going through files or coverity issues... eventually i would have gotten to it :). new patch coming
Summary: hook_sqlite_mutex in test_true_async.cpp should check the return value from sqlite3_initialize() → hook_sqlite_mutex in test_true_async.cpp should check the return value from sqlite3_initialize() and sqlite3_shutdown()
Whiteboard: [timeless: needs answer to comment 2]
Attached patch and _shutdown()Splinter Review
Attachment #442612 - Attachment is obsolete: true
Attachment #442979 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
Product: Toolkit → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: