BUG in linux supermount cdrom support

hi!

SDL_Init does segfault with SDL_INIT_CDROM. I’m running a linux from scratch
with supermount.
The reason seems to be in src/cdrom/linux/SDL_syscdrom.c
In function CheckMounts, supermount part writes data out of
allocated mnt_dev and mnt_type.
To fix this, I set the size of malloc to 256 for both mnt_*

Thomas

hi!

SDL_Init does segfault with SDL_INIT_CDROM. I’m running a linux from scratch
with supermount.
The reason seems to be in src/cdrom/linux/SDL_syscdrom.c
In function CheckMounts, supermount part writes data out of
allocated mnt_dev and mnt_type.
To fix this, I set the size of malloc to 256 for both mnt_*

Thomas