getopt: add some padding to EMSG to avoid overrun
parent
e87595b3d1
commit
e36a92dc9e
|
@ -83,7 +83,8 @@ char *pkg_optarg; /* argument associated with option */
|
|||
#define BADARG ((*options == ':') ? (int)':' : (int)'?')
|
||||
#define INORDER (int)1
|
||||
|
||||
#define EMSG ""
|
||||
/* add some padding to EMSG to avoid overrun */
|
||||
#define EMSG "\0\0\0\0"
|
||||
|
||||
#ifdef GNU_COMPATIBLE
|
||||
#define NO_PREFIX (-1)
|
||||
|
|
Loading…
Reference in New Issue