[MPlayer-dev-eng] [PATCH] add path support to glob-win32

lode leroy lode_leroy at hotmail.com
Fri Apr 6 15:43:26 CEST 2007


>Hello,
>On Fri, Apr 06, 2007 at 01:49:06PM +0200, lode leroy wrote:
> > This patch adds path support to the win32 implementation of glob.
>
>You are using strcpy and strcat on a fixed-size, on-stack buffer without
>any checks. Even if this function is currently only used on
>user-supplied data that is not acceptable.
>
>Greetings,
>Reimar Döffinger

I changed the string manipulations to something safer...

Regards,

-- lode

_________________________________________________________________
Who is the sweetheart of the Japanese and always holds something in his 
hands? Live Search knows! How about you? 
http://search.live.com/images/results.aspx?q=Manneken%20pis&FORM=QBIR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osdep-globwin-fullpath.diff
Type: application/octet-stream
Size: 2088 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070406/ff1b29b6/attachment.obj>


More information about the MPlayer-dev-eng mailing list