Just pass in a stack allocated lswlog On Mon, 9 Jul 2018 at 02:06, D. Hugh Redelmeier <[email protected]> wrote: > > 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 _______________________________________________ Swan-dev mailing list [email protected] https://lists.libreswan.org/mailman/listinfo/swan-dev
- Re: [Swan-dev] [Swan-commit] Changes to ref re... Andrew Cagney
- Re: [Swan-dev] [Swan-commit] Changes to ref refs/heads/... Andrew Cagney
- Re: [Swan-dev] [Swan-commit] Changes to ref refs/h... Antony Antony
- Re: [Swan-dev] [Swan-commit] Changes to ref re... Andrew Cagney
- Re: [Swan-dev] [Swan-commit] Changes to ref refs/heads/... Paul Wouters
- Re: [Swan-dev] [Swan-commit] Changes to ref refs/heads/... Paul Wouters
- Re: [Swan-dev] [Swan-commit] Changes to ref refs/h... Andrew Cagney
- [Swan-dev] useful subject lines when "rep... D. Hugh Redelmeier
- Re: [Swan-dev] [Swan-commit] Changes to ref refs/heads/... Paul Wouters
- Re: [Swan-dev] [Swan-commit] Changes to ref refs/heads/... Paul Wouters
- Re: [Swan-dev] [Swan-commit] Changes to ref refs/heads/... Andrew Cagney
- [Swan-dev] confread diagnostics [was: Re: [Swan-co... D. Hugh Redelmeier
- Re: [Swan-dev] confread diagnostics [was: Re: ... Paul Wouters
- Re: [Swan-dev] confread diagnostics [was: Re: ... Andrew Cagney
- Re: [Swan-dev] confread diagnostics [was: ... D. Hugh Redelmeier
- Re: [Swan-dev] [Swan-commit] Changes to ref refs/h... Antony Antony
- Re: [Swan-dev] [Swan-commit] Changes to ref re... Andrew Cagney
- Re: [Swan-dev] [Swan-commit] Changes to ref refs/heads/... Andrew Cagney
- Re: [Swan-dev] [Swan-commit] Changes to ref refs/h... Paul Wouters
- Re: [Swan-dev] [Swan-commit] Changes to ref re... Andrew Cagney
- Re: [Swan-dev] [Swan-commit] Changes to re... Paul Wouters
