We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4708 - testdropfile: double-free
Summary: testdropfile: double-free
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.0
Hardware: x86_64 Linux
: P2 minor
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-03 08:05 UTC by Juha Niemimäki
Modified: 2019-07-03 09:38 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juha Niemimäki 2019-07-03 08:05:24 UTC
SDLTest_CommonEvent seems to free the file name so testdropfile prints some garbage to console and crashes when freeing the name again.
Comment 1 Sam Lantinga 2019-07-03 09:38:15 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/c6c6e400a007