1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Fixed a possible W32 bufferoverflow

This commit is contained in:
Werner Koch 2001-06-06 18:58:05 +00:00
parent 44d09ca58a
commit e38f5c8326
14 changed files with 240 additions and 34 deletions

View file

@ -1,3 +1,9 @@
2001-05-30 Werner Koch <wk@gnupg.org>
* ttyio.h (tty_printf): Add missing parenthesis for non gcc.
* http.h: Removed trailing comma to make old ccs happy. Both are
by Albert Chin.
2001-05-25 Werner Koch <wk@gnupg.org>
* ttyio.h (tty_printf): Add printf attribute.

View file

@ -51,7 +51,7 @@ typedef enum {
enum { /* put flag values into an enum, so that gdb can display them */
HTTP_FLAG_TRY_PROXY = 1,
HTTP_FLAG_NO_SHUTDOWN = 2,
HTTP_FLAG_NO_SHUTDOWN = 2
};
struct http_context {

View file

@ -24,7 +24,7 @@ int tty_batchmode( int onoff );
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5 )
void tty_printf (const char *fmt, ... ) __attribute__ ((format (printf,1,2)));
#else
void tty_printf const char *fmt, ... );
void tty_printf (const char *fmt, ... );
#endif
void tty_print_string( byte *p, size_t n );
void tty_print_utf8_string( byte *p, size_t n );

View file

@ -207,10 +207,12 @@ int strcasecmp( const char *, const char *b);
#define stricmp(a,b) strcasecmp( (a), (b) )
#endif
/*-- w32reg.c --*/
#ifdef __MINGW32__
/*-- w32reg.c --*/
char *read_w32_registry_string( const char *root,
const char *dir, const char *name );
/*-- strgutil.c --*/
int vasprintf ( char **result, const char *format, va_list args);
#endif
/**** other missing stuff ****/