Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18562] Windows: Database module doesn't properly clean up ResultSets or guard against accessing fields after being closed

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-04-15T17:06:19.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterChristopher Williams
AssigneeKota Iguchi
Created2015-02-12T23:11:31.000+0000
Updated2017-03-14T12:28:05.000+0000

Description

We need to do a better job of finalizing result sets for the user, doing so in destructors. We need to check the status of closing the DB to ensure we're really closing it. If a result set is closed and the user calls field, or fieldByName, it will cause a crash because we don't guard against accessing a finalized prepared statement.

Comments

  1. Kota Iguchi 2015-04-15

    https://github.com/appcelerator/titanium_mobile_windows/pull/220
  2. Lee Morris 2017-03-14

    Closing ticket as fixed.

JSON Source