Issued:
2012-04-03
Updated:
2012-06-20

RHBA-2012:0446 - SDL bug fix update


Synopsis

SDL bug fix update

Type/Severity

Bug Fix Advisory

Topic

An updated SDL package that fixes multiple bugs is now available for Red Hat Enterprise Linux 6.

Description

Simple DirectMedia Layer (SDL) is a cross-platform multimedia library designed to provide fast access to the graphics frame buffer and audio device.

This update fixes the following bugs:

  • If the SDL_VM_GrabInput() function was called when the window of an SDL application was not visible (for example, the window was displayed on a different workspace or outside of the screen borders), the SDL library, and therefore the current application thread, was unresponsive until the window became visible and the input could be grabbed. The SDL_VM_GrabInput() function has been adjusted to return immediately with the proper error code signaling that the grab failed. (BZ#733605)

  • Previously, calling the SDL_BlitSurface() function on overlapping rectangles when running the Streaming SIMD Extensions 3 (SSE3) optimized standard C library caused the bitmap content on the screen to be corrupted. The internal SDL_BlitCopyOverlap() function has been fixed to copy bitmaps between overlapping areas correctly. The SDL_BlitSurface() function now performs correctly even if the standard C library does not implement the memcpy() function safely for operations on overlapping memory areas. (BZ#678569)

  • When running an SDL application in window mode and using certain window managers (like Fluxbox), the left-button event was not reported to the application. This update fixes dispatching of notifications when a window is left and the parent window is not interested in grabbing or ungrabbing events to handle window focus changes. With this update, the event of pressing the mouse button is reported to the application even if the window manager handles grab events. (BZ#640682)

  • When using a hat-type analog joystick in an SDL application, the application terminated unexpectedly with a segmentation fault when the user moved the hat. The data structure which defines the analog part of a joystick has been updated to match the data structure passed by the kernel to the SDL library. The state of the analog hat is now properly passed by the kernel to the SDL library and it is interpreted accurately by the library. (BZ#640694)

  • Prior to this update, the SDL spec file contained two invalid configuration options. This update removes these unrecognized options from the spec file. All options defined in the spec file are now recognized by the SDL configure script. (BZ#640687)

All users of SDL are advised to upgrade to this updated package, which fixes these bugs.

Solution

Before applying this update, make sure all previously-released errata relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at This content is not included.https://access.redhat.com/kb/docs/DOC-11259

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for Scientific Computing6x86_64
Red Hat Enterprise Linux for Power, big endian6ppc64
Red Hat Enterprise Linux for IBM z Systems6s390x
Red Hat Enterprise Linux Workstation6x86_64
Red Hat Enterprise Linux Workstation6i386
Red Hat Enterprise Linux Server6x86_64
Red Hat Enterprise Linux Server6i386
Red Hat Enterprise Linux Server from RHUI6x86_64
Red Hat Enterprise Linux Server from RHUI6i386
Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems)6s390x
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)6s390x
Red Hat Enterprise Linux Desktop6x86_64
Red Hat Enterprise Linux Desktop6i386

Updated Packages

  • SDL-static-1.2.14-3.el6.ppc64.rpm
  • SDL-devel-1.2.14-3.el6.x86_64.rpm
  • SDL-devel-1.2.14-3.el6.s390x.rpm
  • SDL-devel-1.2.14-3.el6.ppc.rpm
  • SDL-debuginfo-1.2.14-3.el6.s390.rpm
  • SDL-debuginfo-1.2.14-3.el6.s390x.rpm
  • SDL-1.2.14-3.el6.s390x.rpm
  • SDL-static-1.2.14-3.el6.i686.rpm
  • SDL-devel-1.2.14-3.el6.ppc64.rpm
  • SDL-1.2.14-3.el6.x86_64.rpm
  • SDL-1.2.14-3.el6.i686.rpm
  • SDL-debuginfo-1.2.14-3.el6.ppc.rpm
  • SDL-static-1.2.14-3.el6.s390x.rpm
  • SDL-devel-1.2.14-3.el6.s390.rpm
  • SDL-debuginfo-1.2.14-3.el6.i686.rpm
  • SDL-debuginfo-1.2.14-3.el6.ppc64.rpm
  • SDL-devel-1.2.14-3.el6.i686.rpm
  • SDL-static-1.2.14-3.el6.x86_64.rpm
  • SDL-debuginfo-1.2.14-3.el6.x86_64.rpm
  • SDL-1.2.14-3.el6.ppc64.rpm
  • SDL-1.2.14-3.el6.s390.rpm
  • SDL-1.2.14-3.el6.src.rpm
  • SDL-1.2.14-3.el6.ppc.rpm

Fixes

CVEs

(none)

References

(none)


Additional information