Mercurial > mplayer.hg
view osdep/shmem.h @ 25795:e96b4070ba66
Clear tmp between ip6 check and string escape to prevent reuse of the
buffer, in order to prevent a possible buffer overflow on malformed
urls.
Based on a patch by Adam Bozanich abozanich musecurity com
author | rtogni |
---|---|
date | Sun, 20 Jan 2008 20:43:46 +0000 |
parents | 6ac1ece1f9fe |
children | 4129c8cfa742 |
line wrap: on
line source
#ifndef SHMEM_H #define SHMEM_H void* shmem_alloc(int size); void shmem_free(void* p,int size); #endif /* SHMEM_H */