1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00
Werner Koch 25e2b27b00
common: Check option arguments for a valid range
* common/argparse.h (ARGPARSE_INVALID_ARG): New.
* common/argparse.c: Include limits h and errno.h.
(initialize): Add error strings for new error constant.
(set_opt_arg): Add range checking.
--
Signed-off-by: Werner Koch <wk@gnupg.org>

[ This is a backport of 0d73a242cb53522669cf712b5ece7d1ed05d003a from
  master to STABLE-BRANCH-2-0 ]

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2015-03-11 15:02:30 +01:00
..
2007-07-04 19:49:40 +00:00
2009-07-07 16:51:33 +00:00
2006-10-02 11:54:35 +00:00
2009-07-07 16:51:33 +00:00
2007-07-04 19:49:40 +00:00
2007-07-04 19:49:40 +00:00
2013-08-01 19:48:00 +02:00
2007-07-04 19:49:40 +00:00
2007-10-01 14:48:39 +00:00
2013-08-01 14:02:50 +02:00
2013-08-01 14:02:50 +02:00
2007-07-04 19:49:40 +00:00

JNLIB - This is a collection of utility function which are too small
to put into a library.  The code here is licensed under the LGPL.

libjnlib-config.h should be be modified for each project to make these
functions fit into the software. Mainly these are memory functions in
case you need another allocator.