Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Oct 2017 11:03:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222822] devel/sdl20: Fix bugs in SDL_FreeSurface function after 2.0.6 update
Message-ID:  <bug-222822-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222822

            Bug ID: 222822
           Summary: devel/sdl20: Fix bugs in SDL_FreeSurface function
                    after 2.0.6 update
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: lightside@gmx.com
                CC: jbeich@FreeBSD.org

Created attachment 186945
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D186945&action=
=3Dedit
Proposed patch (since 450461 revision)

The devel/sdl20 was updated to 2.0.6 version in ports r450461, but it has b=
ugs
in SDL_FreeSurface function:
- SDL_FreeSurface deallocates surface->map even if the surface is not yet f=
reed
https://bugzilla.libsdl.org/show_bug.cgi?id=3D3852
https://hg.libsdl.org/SDL/rev/a09c3f87a12f
- Memory leak in SDL_FreeSurface
https://bugzilla.libsdl.org/show_bug.cgi?id=3D3855
https://hg.libsdl.org/SDL/rev/3a23ca106752

Attached patch for devel/sdl20 port with upstream patches.
As a side effect, this fixes startup issue for games/pioneer for current
20170304 and latest 20171001 release versions:
https://github.com/pioneerspacesim/pioneer/issues/4174

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222822-13>