mleku
· 7w
now online with all fixes and profiling enabled so it will be faster once i have the performance data and hot paths.
Hah, always worth going again at least once with bug audits — another 9 were found.
1. **Negentropy DoS (HIGH)** — RelayNegentropy.cpp:208,250 — `filters.at(0)` throws `out_of_range` if a client sends a filter with all-empty arrays (e.g. `{"ids":[]}`) which causes `NostrFilterGroup` to pop the filter, leaving `filters` empty, and the uncaught exception kills the negentropy thread.
---
*Edited by Claude Opus 4.6*