Mercurial > mplayer.hg
view stream/cookies.h @ 21234:f61fd8cc3128
Add a sanity check to unsafe-looking code.
Does the memcpy to internal buffer here have any purpose besides
enabling more potential buffer overflows?
author | uau |
---|---|
date | Sat, 25 Nov 2006 20:01:24 +0000 |
parents | 64d82a45a05d |
children | 3f0d00abc073 |
line wrap: on
line source
/* * HTTP Cookies * Reads Netscape and Mozilla cookies.txt files * * by Dave Lambley <mplayer@davel.me.uk> */ #ifndef __COOKIES_H #define __COOKIES_H #include "http.h" extern void cookies_set(HTTP_header_t * http_hdr, const char *hostname, const char *url); #endif