Pádraig Brady
a8cc9ce3f2
base64: use stricter validation on wrap column
...
* src/base64.c (main): Use the higher level xnumtoumax()
rather than xstrtoumax(), which is simpler and improves
validation of input. Also pass the _empty_ rather than NULL
string as the suffixes parameter so that invalid trailing
characters are not allowed. For example -w08 is now
flagged as an error, rather than being interpreted as 0.
A subsequent commit will further improve verification
of numbers with leading zeros by dropping backwards compatibility
wrt auto parsing oct and hex numbers.
* tests/misc/base64.pl: Add tests for invalid wrap values.
2015-09-03 00:34:12 +01:00
..
2015-09-03 00:33:19 +01:00
2015-09-03 00:34:12 +01:00
2015-01-01 04:52:17 +00:00
2009-08-25 09:21:00 +02:00
2015-04-30 18:25:01 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-06-26 19:35:46 +01:00
2015-01-01 04:52:17 +00:00
2015-04-30 18:25:01 +01:00
2015-05-28 01:42:15 +01:00
2015-01-31 17:39:04 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-04-28 23:48:30 +01:00
2015-01-01 04:52:17 +00:00
2015-01-31 17:39:04 +01:00
2015-04-30 18:25:01 +01:00
2015-04-30 18:25:01 +01:00
2015-07-23 18:52:15 -07:00
2015-01-01 04:52:17 +00:00
2015-05-30 00:41:09 +01:00
2015-06-28 03:56:41 +01:00
2015-01-01 04:52:17 +00:00
2015-07-09 17:52:51 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-02-17 08:50:34 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-04-30 18:25:01 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-07-01 12:27:29 +01:00
2015-01-31 17:39:04 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-04-30 18:25:01 +01:00
2015-04-30 18:25:01 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-05-30 00:41:09 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-04-30 18:25:01 +01:00
2015-04-27 10:55:26 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-09-03 00:33:19 +01:00
2015-01-01 04:52:17 +00:00
2015-04-22 11:11:26 +01:00
2015-08-22 18:31:13 -07:00
2012-01-09 21:51:59 +01:00
2015-06-25 02:46:07 +01:00
2015-04-30 18:25:01 +01:00
2015-05-23 02:04:24 +01:00
2015-01-01 04:52:17 +00:00
2015-04-22 11:11:19 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-04-30 18:25:01 +01:00
2015-03-27 15:02:35 -07:00
2015-01-01 04:52:17 +00:00
2015-07-01 12:29:59 +01:00
2015-05-30 00:41:09 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-04-30 18:25:01 +01:00
2015-01-01 04:52:17 +00:00
2015-02-17 08:50:34 +01:00
2015-04-30 18:25:01 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-06-24 19:15:31 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-07-15 14:37:05 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-06-24 17:04:01 +01:00
2015-08-31 18:10:41 +01:00
2015-04-30 18:25:01 +01:00
2015-01-01 04:52:17 +00:00
2015-04-30 18:25:01 +01:00
2015-08-31 18:10:41 +01:00
2015-07-23 18:52:15 -07:00
2015-06-29 14:18:59 -07:00
2015-02-17 03:03:23 +00:00
2015-04-30 18:25:01 +01:00
2015-06-06 00:46:13 -07:00
2015-05-26 02:16:48 +01:00
2015-01-01 04:52:17 +00:00
2015-05-30 00:41:09 +01:00
2015-06-09 11:46:29 +01:00
2015-08-31 18:10:41 +01:00
2015-01-01 04:52:17 +00:00
2015-05-13 13:48:56 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-04-30 18:25:01 +01:00
2015-01-01 04:52:17 +00:00
2015-07-22 01:55:14 +01:00
2012-01-09 21:51:59 +01:00
2015-04-30 18:25:01 +01:00
2015-08-31 18:10:41 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-07-02 03:53:59 +01:00
2015-02-17 08:50:34 +01:00
2015-01-01 04:52:17 +00:00
2015-04-28 23:07:13 +01:00