Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24590] iOS: require() file content leaks

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionDuplicate
Resolution Date2017-04-24T17:12:18.000+0000
Affected Version/sRelease 6.0.3
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterChris Bowley
AssigneeHans Knöchel
Created2017-04-18T15:24:14.000+0000
Updated2017-04-24T17:39:04.000+0000

Description

On iOS, contents of files loaded through require() are leaked under 6.0.3.GA due to missing (auto)release statement: https://github.com/appcelerator/titanium_mobile/blob/6_0_X/iphone/Classes/KrollBridge.m#L923 This is already fixed with commit https://github.com/appcelerator/titanium_mobile/commit/46e83b20895f110fbf0b6adcf93edd84968c4ec9 and on master: https://github.com/appcelerator/titanium_mobile/blob/master/iphone/Classes/KrollBridge.m#L923.

Comments

  1. Hans Knöchel 2017-04-18

    Interesting interesting. We need to decide if we just take the specific leak-fix or the whole 6.1.0 PR from TIMOB-23542. I'm curious because the ticket is resolved but not closed so far, and it includes a hell lot of sensitive touches. I'd say we take the whole PR, but then we need to spend some time checking the above ticket. Let me prepare a backport.
  2. Hans Knöchel 2017-04-18

    Backport-PR: https://github.com/appcelerator/titanium_mobile/pull/8973
  3. Hans Knöchel 2017-04-24

    Marking as Duplicate of TIMOB-23542 to manage the test-cases and fix-version there.
  4. Abir Mukherjee 2017-04-24

    Agree that ticket is Duplicate of an existing ticket as commented by Hans above.

JSON Source