mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
Fixed calloc() and getopt_long()
Added integer overflow test to calloc(). Tiny change in getopt_long() so that the value pointed to by the "longindex" parameter is always initialized to an invalid index position (that being -1), instead of 0. The value of 0 can break some shell commands, most notably GNU wget.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
#define VERSION 1
|
||||
#define REVISION 213
|
||||
#define DATE "4.12.2016"
|
||||
#define VERS "debug.lib 1.213"
|
||||
#define VSTRING "debug.lib 1.213 (4.12.2016)\r\n"
|
||||
#define VERSTAG "\0$VER: debug.lib 1.213 (4.12.2016)"
|
||||
#define REVISION 214
|
||||
#define DATE "27.4.2017"
|
||||
#define VERS "debug.lib 1.214"
|
||||
#define VSTRING "debug.lib 1.214 (27.4.2017)\r\n"
|
||||
#define VERSTAG "\0$VER: debug.lib 1.214 (27.4.2017)"
|
||||
|
||||
Reference in New Issue
Block a user