Igalia / pflua

Packet filtering in Lua
Other
313 stars 39 forks source link

Fix error in BPF pipeline triggered by multiplication #250

Closed mpeterv closed 8 years ago

mpeterv commented 8 years ago

This is a fix for #185. The bug is triggered by any multiplication with variable operand (without optimizations BPF moves constants a lot so they look like variables), e.g. ip[0] * ip[1] = 4. A regression test is still needed.