mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-01 01:46:38 +02:00
e0cfbe5821
rehash errors such as error: set::geoip-classic::ipv6-database: cannot open file "/home/xxxx/unrealircd/data/https://www.unrealircd... and possibly even a crash. The initial boot of UnrealIRCd, however, was always fine, this only happened when rehashing. It also seemed to occur more with ftp:// includes or at least with multiple parallel includes, that may or may not have different or more latency. In any case it seemed to affect some remote includes setups semi-consistently, and others not at all. The root cause was a complex code path causing a read-after-free. We now use a simplified code path which can no longer cause this. The only downside is that rehashing may be delayed up to an extra 250ms (quarter of a second), but that should hardly be noticeable, if at all. Issue reported by Bun-Bun.