New commits:
commit 2a6f1b5e987d72486b1b7eaef5f28807a48802fb
Author: D. Hugh Redelmeier <[email protected]>
Date: Sun Aug 30 00:59:36 2015 -0400
libipsecconf: allow time with no unit suffix; detect more overflows
- be more careful with the result of strtoul:
- check errno (signifying overflow)
- before sticking the result in an unsigned int, check that it fits
- introduce the new non-terminal "duration" to the grammar. This
accepts a string (an integer with a unit suffix) or an integer
(presumed to be seconds). Times are now expressed as durations.
Odd fact: this seems to be the only non-terminal that
creates a synthetic attribute (i.e. sets $$).
- tidy some of the code in parser.y
_______________________________________________
Swan-commit mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-commit