commit | e09101e8d92b0c0ef8674fbc791e309112ab7f1c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Oct 16 17:37:12 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 16 17:39:05 2018 +0200 |
tree | 7586c9aa4ff68e62d59e7f5c262e2bd864ed3208 | |
parent | 526aed219f83eb86f1ee578e8e5233f11edf34ea [diff] |
BUILD: lua: silence some compiler warnings about potential null derefs (#2) Here we make sure that appctx is always taken from the unchecked value since we know it's an appctx, which explains why it's immediately dereferenced. A missing test was added to ensure that task_new() does not return a NULL. This may be backported to 1.8.