Bug#510971: libsdl-mixer1.2: _Eff_PositionDeinit debian mods still not robust enough
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Tue Jan 6 10:50:20 UTC 2009
Package: libsdl-mixer1.2
Version: 1.2.8-5
Severity: normal
debian patches _Eff_PositionDeinit, but it's not done in so robust
a way as is done for descent2-xl (d2x-xl).
try this instead:
void _Eff_PositionDeinit(void)
{
int i;
if (pos_args_array) {
for (i = 0; i < position_channels; i++)
if (pos_args_array[i])
free(pos_args_array[i]);
free(pos_args_array);
pos_args_array = NULL;
}
position_channels = 0;
if (pos_args_global) {
free(pos_args_global);
pos_args_global = NULL;
}
}
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-1-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages libsdl-mixer1.2 depends on:
ii libc6 2.7-16 GNU C Library: Shared libraries
ii libmikmod2 3.1.11-a-6 A portable sound library
ii libsdl1.2debian 1.2.13-4 Simple DirectMedia Layer
ii libsmpeg0 0.4.5+cvs20030824-2.2 SDL MPEG Player Library - shared l
ii libvorbisfile3 1.2.0.dfsg-3 The Vorbis General Audio Compressi
libsdl-mixer1.2 recommends no packages.
-- no debconf information
More information about the Pkg-sdl-maintainers
mailing list