commit | 3c79d4bdc47e151a97d7acdd99382bd9ca3927a5 | [log] [tgz] |
---|---|---|
author | Jerome Magnin <jmagnin@haproxy.com> | Fri Jan 17 16:09:33 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jan 17 17:09:50 2020 +0100 |
tree | 33c1a2dd664995a7e86810ed0cd4f4c6f7440284 | |
parent | 17ccd1a3560a634a17d276833ff41b8063b72206 [diff] |
BUG/MINOR: pattern: handle errors from fgets when trying to load patterns We need to do some error handling after we call fgets to make sure everything went fine. If we don't users can be fooled into thinking they can load pattens from directory because cfgparse doesn't flinch. This applies to acl patterns map files. This should be backported to all supported versions.