Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

[21271] Fix crash when setting markerpoints of a grc in repeat loop#6523

Merged
livecodepanos merged 2 commits into
livecode:develop-9.0from
livecodepanos:bugfix-21271
May 22, 2018
Merged

[21271] Fix crash when setting markerpoints of a grc in repeat loop#6523
livecodepanos merged 2 commits into
livecode:develop-9.0from
livecodepanos:bugfix-21271

Conversation

@livecodepanos

Copy link
Copy Markdown
Contributor

After delete[] markerpoints, the pointer markerpoints was not necessarily NULL, thus on a the next call to delete[] markerpoints a crash occured with pointer being freed was not allocated

@livecodepanos livecodepanos added this to the 9.0.1-rc-1 milestone May 14, 2018
@livecodemichael

Copy link
Copy Markdown
Contributor

@livecode-vulcan review ok 81fc506

@livecode-vulcan

Copy link
Copy Markdown
Contributor

💙 review by @livecodemichael ok 81fc506

livecode-vulcan added a commit that referenced this pull request May 22, 2018
 [21271] Fix crash when setting markerpoints of a grc in repeat loop

After `delete[] markerpoints`, the pointer `markerpoints`  was not necessarily `NULL`, thus on a the next call to `delete[] markerpoints` a crash occured with `pointer being freed was not allocated`
@livecode-vulcan

Copy link
Copy Markdown
Contributor

😎 test success 81fc506

  • try-community-armv6-android-api8: success
  • try-community-armv6-android-api9: success
  • try-community-js-emscripten-sdk1.35: success
  • try-community-universal-ios-iphoneos11.3: success
  • try-community-universal-ios-iphonesimulator11.3: success
  • try-community-universal-mac-macosx10.6: success
  • try-community-universal-mac-macosx10.9: success
  • try-community-x86-linux-debian7: success
  • try-community-x86-linux-debian8: success
  • try-community-x86_64-linux-debian7: success
  • try-community-x86_64-linux-debian8: success
  • try-community-x86-win32: success
  • try-community-x86_64-win32: success

@livecodepanos livecodepanos merged commit 01955ab into livecode:develop-9.0 May 22, 2018
@livecodepanos livecodepanos deleted the bugfix-21271 branch May 22, 2018 13:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants