Bug 227816 - REGRESSION(r277571) null dereference in SQLiteStatement::~SQLiteStatement
Summary: REGRESSION(r277571) null dereference in SQLiteStatement::~SQLiteStatement
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alex Christensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-08 14:37 PDT by Alex Christensen
Modified: 2021-07-08 15:32 PDT (History)
1 user (show)

See Also:


Attachments
Patch (1.47 KB, patch)
2021-07-08 14:40 PDT, Alex Christensen
cdumez: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Christensen 2021-07-08 14:37:43 PDT
REGRESSION(r277571) null dereference in SQLiteStatement::~SQLiteStatement
Comment 1 Alex Christensen 2021-07-08 14:40:19 PDT
Created attachment 433165 [details]
Patch
Comment 2 Chris Dumez 2021-07-08 14:40:59 PDT
Comment on attachment 433165 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=433165&action=review

> Source/WebCore/platform/sql/SQLiteStatement.cpp:62
> +        sqlite3_finalize(m_statement);

https://www.sqlite.org/c3ref/finalize.html:
"Invoking sqlite3_finalize() on a NULL pointer is a harmless no-op."