FilterEngine::ForceUpdateCheck crashes when passed a 0 std::function
Description (last modified by fhd)
libadblockplus revision f6d33ae55666.
How to reproduce
With a working FilterEngine instance, simply call:
The JS code in lib/updater.js tries to invoke the native callback, causing a crash.
The update check should finish normally.
As a workaround, create a no-op function and pass that one. (While fixing this, we should remove these workarounds from the test code.)
Change History (7)
comment:3 Changed 3 years ago by fhd
- Component changed from Unknown to Libadblockplus
- Priority changed from Unknown to P3
- Ready set
comment:4 Changed 8 days ago by sergz
- Cc asmirnov added
- Owner set to sergz
- Priority changed from P3 to P2
- Tester set to Unknown