On Sun, Feb 16, 2014 at 01:27:28AM +0100, Cyril Bonté wrote:
> A segfault may occur when a peer is parsed while the peers section is invalid,
> for example because the peers section name was forgotten in the configuration
> file.
> 
> Example :
>   peers
>     peer LB1 127.0.0.1:1234
>     peer LB2 127.0.0.1:1235
> 
> The parser saves a static pointer on the current section parsed, we should set
> it to NULL when a parsing error is detected and prevent to initialize the peer
> when it appears.

Argh! Sorry, next time I'll read *all* my e-mails before looking at the code!

Thanks!
Willy


Reply via email to