Hamlib/lib
Bill Somerville b27b423dce Fix a buffer overflow in the Windows termios emulation.
The  YACK() macro  generates  a  message of  variable  length due  the
__FILE__ string  and a  message returned  by MS  FormatMessage() being
inserted  into a  fixed length  string  buffer. I  have increased  the
buffer length to 1024 bytes and used snprintf to avoid overflows.

It looks like the whole YACK() macro should do nothing unless DEBUG is
defined so  there is probably  a small performance  gain to be  had by
doing that also. I have left that to the experts to decide.
2014-03-24 17:09:03 +00:00
..
Makefile.am Clean up build system, fix test programs 2013-12-10 20:14:22 -06:00
dummy.c Add dummy() function to libmisc.a so that that library will never be empty. 2008-12-08 19:54:06 +00:00
getaddrinfo.c Revert to previous handling of getaddrinfo() 2013-09-15 19:47:49 -05:00
getopt.c Update LGPL/GPL header in lib source files. 2011-08-22 21:38:36 -05:00
getopt.h Update LGPL/GPL header in lib source files. 2011-08-22 21:38:36 -05:00
getopt_long.c Update LGPL/GPL header in lib source files. 2011-08-22 21:38:36 -05:00
gettimeofday.c gr_pwin32.m4/config.h fixes 2003-11-16 22:15:38 +00:00
termios.c win32termios: fix in tcflush 2013-05-06 08:35:00 +02:00
usleep.c Update LGPL/GPL header in lib source files. 2011-08-22 21:38:36 -05:00
win32termios.h Fix a buffer overflow in the Windows termios emulation. 2014-03-24 17:09:03 +00:00