URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9035f52ca278152aad6ec574adcd04ec02554588
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.4
Repository: wireshark
Commits:
9035f52 by Guy Harris (guy@xxxxxxxxxxxx):
Always set *dfp to NULL on an error return from dfilter_compile().
All other error-return code paths set *dfp to NULL; make this one do so
as well.
Change-Id: I4015c1d53bdbac99cdeda158d7d01c8da7bf2562
Reviewed-on: https://code.wireshark.org/review/31102
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit 9d8b0a9cd0afca4c9bfebefd7154185c5c93afdb)
Reviewed-on: https://code.wireshark.org/review/31104
Actions performed:
from 7c3eae7 Don't assume the filter will be non-null.
add 9035f52 Always set *dfp to NULL on an error return from dfilter_compile().
Summary of changes:
epan/dfilter/dfilter.c | 1 +
1 file changed, 1 insertion(+)