commit | 07081fe6b70a9448dc91179ab76499e183c1d459 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Apr 06 10:59:20 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Apr 06 10:59:20 2015 +0200 |
tree | 133a157a88e6f4b581e059b7b22e9bc0e48f6f67 | |
parent | 08ef3d055d7e67ec08660bb3da2487326f02d704 [diff] |
CLEANUP: lua: remove hard-coded sizeof() in object creations and mallocs Last bug was an example of a side effect of abuse of copy-paste, but there are other places at risk, so better fix all occurrences of sizeof to really reference the object size in order to limit the risks in the future.