You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
rage4
changed the title
Segmentation fault (core dumped) when running dnsdist client mode an eBPF excludeMask
Segmentation fault (core dumped) when running dnsdist client mode and eBPF excludeMask
Feb 16, 2021
rage4
changed the title
Segmentation fault (core dumped) when running dnsdist client mode and eBPF excludeMask
Segmentation fault (core dumped) when running dnsdist client mode and dbpf:excludeRange
Feb 16, 2021
Right, that's because newDynBPFFilter(bpf) returns nullptr (nil) in client mode, and then calling excludeRange on that pointer triggers a null pointer dereference..
We have seen that for other objects already, we can either return a mockup object or check for nullptr in all BPFFilter methods.
Short description
dnsdist client mode crashes with "Segmentation fault (core dumped)" when using eBPF excludeRange
Environment
Steps to reproduce
Expected behaviour
correct access to dnsdist client console
Actual behaviour
Segmentation fault (core dumped)
Other information
The text was updated successfully, but these errors were encountered: