Gregory Oschwald
Gregory Oschwald
I also ran into this. Wouldn't it be possible to just test that the number is an integer within an extremely small delta?
Does this happen when the database is being updated or shortly thereafter? If so, how is the database being updated? If you are not replacing the file atomically, issues like...
`geoipupdate` should replace the file atomically if the OS and file system support it. What OS and file system are you using?
Interesting. We have been using this on similar systems with similar loads and updated by `geoipupdate`. We have never experienced a SIGBUS. To confirm, this is a local file system,...
Given that I am unable to reproduce this and it sounds like a mmap problem that is not specific to this library, I am going to close this issue.
Thanks. I think this might make sense. I need to think about it a bit more as it may be a breaking change for some people.
This would be a breaking change. I would recommend using `maxminddb` directly if you want more control over this.
I'd also like to see this. That said, I am planning on waiting until 1.19 is released and 1.17 has been end-of-lifed.
Is there a particular use case beyond avoiding an `AsSlice()` call in your code? Internally, we will still need to convert the address to a byte slice, meaning that a...
What about an iterator over the data section instead? This could encapsulate the logic for checking the section size. It could follow a similar pattern to the `Networks` iterator. I...