Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 112193 Details for
Bug 169477
media-libs/libsdl-1.2.11-r1 double free
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libsdl-1.2.11-supermount-double-free-issue.patch
libsdl-1.2.11-supermount-double-free-issue.patch (text/plain), 1.18 KB, created by
Peter Alfredsen (RETIRED)
on 2007-03-05 18:08:25 UTC
(
hide
)
Description:
libsdl-1.2.11-supermount-double-free-issue.patch
Filename:
MIME Type:
Creator:
Peter Alfredsen (RETIRED)
Created:
2007-03-05 18:08:25 UTC
Size:
1.18 KB
patch
obsolete
>Fixes Debian bugs > #401950 (nexuiz: double free, memory errors) > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=401950 > >and > #380508 (libsdl1.2debian: dosbox doesn't start due to invalid free) > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=380508 > >These patches are also in Mandriva >Adapted for Gentoo by Peter Alfredsen > >--- SDL-1.2.11.orig/src/cdrom/linux/SDL_syscdrom.c 2006-05-01 10:02:43.000000000 +0200 >+++ SDL-1.2.11/src/cdrom/linux/SDL_syscdrom.c 2007-03-05 18:08:45.000000000 +0100 >@@ -216,22 +216,22 @@ > > /* Handle "supermount" filesystem mounts */ > if ( SDL_strcmp(mnt_type, MNTTYPE_SUPER) == 0 ) { > tmp = SDL_strstr(mntent->mnt_opts, "fs="); > if ( tmp ) { >- SDL_free(mnt_type); >+ SDL_stack_free(mnt_type); > mnt_type = SDL_strdup(tmp + SDL_strlen("fs=")); > if ( mnt_type ) { > tmp = SDL_strchr(mnt_type, ','); > if ( tmp ) { > *tmp = '\0'; > } > } > } > tmp = SDL_strstr(mntent->mnt_opts, "dev="); > if ( tmp ) { >- SDL_free(mnt_dev); >+ SDL_stack_free(mnt_dev); > mnt_dev = SDL_strdup(tmp + SDL_strlen("dev=")); > if ( mnt_dev ) { > tmp = SDL_strchr(mnt_dev, ','); > if ( tmp ) { > *tmp = '\0';
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 169477
:
112190
|
112192
| 112193 |
112195
|
112197
|
113468