New commits:
commit f28c65e2c5a132562172522a73c88a2fcf4a841e
Author: D. Hugh Redelmeier <[email protected]>
Date: Mon Jul 9 01:55:40 2018 -0400
confread: more carefully handle diagnostics
Problems:
- err_t was used for mutable errors
+ for heap-allocated strings: leaks
+ for static-allocated buffers: contents might be overwritten
- multiple errors might cause all but the last to be discarded
- some errors might get lost because they were treated as non-fatal
Solution:
- use a new mechanism for accumulating heap-allocate messages:
starter_errors_t
- the messages are printed even if the condition isn't considered fatal
_______________________________________________
Swan-commit mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-commit