commit | 1a87c8afa8d3971d30fe6a37f1659f45b79e0a27 | [log] [tgz] |
---|---|---|
author | Luis Hector Chavez <lhchavez@google.com> | Sat Sep 02 13:18:31 2017 -0700 |
committer | Luis Hector Chavez <lhchavez@google.com> | Sat Sep 02 13:18:42 2017 -0700 |
tree | 28ebe0d77484473cb231de846d74995c914b33a9 | |
parent | 52f3dd721747e1c88e9ac320a2b56c4d500b13a0 [diff] |
libFuzzer: Fix a leak in compile_filter() cleanup This crash was found by running libFuzzer+ASan. Under some circumstances, the cleanup performed in compile_filter() skips free(3)-ing some things before returning. This change restructures the function so the cleanup is always performed. Bug: None Test: make tests (with ASan) Change-Id: I5fd22ecc6a400d7ef44ad0c1ccfcd2fafeaa04ed