commit | f678b7f32253fa7b279f907dbda563e985c6478c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jan 24 00:25:39 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jan 24 16:19:18 2013 +0100 |
tree | b3e3dffcb5c165b7108f8799227363874d04d1a1 | |
parent | cf181c9d404815f890da7cd2243a5528edd7b4f9 [diff] |
BUG/MINOR: config: fix improper check for failed memory alloc in ACL parser The wrong variable is checked after a calloc() so a memory shortage would result in a segfault while loading the config instead of a clean error. This fix may be backported to 1.4 and 1.3 which are both affected. Reported-by: Dinko Korunic <dkorunic@reflected.net>