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-01-01 04:52:17 +00:00
2015-09-03 00:34:12 +01:00
2015-01-31 17:39:04 +01:00
2015-05-11 23:02:16 +01:00
2015-01-01 04:52:17 +00:00
2015-01-14 12:20:32 +00:00
2015-01-14 12:20:32 +00:00
2015-01-01 04:52:17 +00:00
2015-01-14 12:20:32 +00:00
2015-01-01 04:52:17 +00:00
2015-01-14 12:20:32 +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-14 12:20:32 +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-14 12:20:32 +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-01-01 04:52:17 +00:00
2015-01-14 12:20:32 +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-07-03 13:02:21 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-31 17:39:04 +01:00
2015-01-01 04:52:17 +00:00
2015-01-31 17:39:04 +01:00
2015-01-01 04:52:17 +00:00
2015-06-06 14:27:54 +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-14 17:38:12 +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-14 12:20:32 +00:00
2015-07-02 19:15:08 +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-14 12:20:32 +00:00
2015-02-03 02:19:54 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-05-11 23:02:16 +01:00
2015-01-14 12:20:32 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-07-03 13:02:21 +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-14 12:20:32 +00:00
2015-01-01 04:52:17 +00:00
2015-01-14 12:20:32 +00:00
2015-01-01 04:52:17 +00:00
2015-06-24 17:04: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-01-01 04:52:17 +00:00
2015-01-31 17:39:04 +01:00
2015-07-07 03:26:58 +01:00
2015-01-14 12:20:32 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-10 21:18:33 +00:00
2015-01-01 04:52:17 +00:00
2015-07-03 13:02:21 +01:00
2015-07-03 13:02:21 +01:00
2015-07-03 13:02:21 +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-14 12:20:32 +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-05-11 23:02:16 +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-31 17:39:04 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-14 12:20:32 +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-14 12:20:32 +00:00
2015-05-11 23:02:16 +01:00
2015-01-14 12:20:32 +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-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-06-25 14:10:47 +01:00
2015-01-01 04:52:17 +00:00
2015-05-11 23:02:16 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-03-04 13:24:21 +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-03 13:02:21 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-14 12:20:32 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-14 12:20:32 +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-14 12:20:32 +00:00
2015-01-01 04:52:17 +00:00
2015-01-14 12:20:32 +00:00
2015-01-14 12:20:32 +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-06-01 15:38:23 +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-06-06 14:27:54 +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-03-10 12:30:33 +00:00