[Xapian-tickets] [Xapian] #651: Protect writable fds by setting filepos very high
Xapian
nobody at xapian.org
Tue May 28 03:22:00 BST 2024
#651: Protect writable fds by setting filepos very high
---------------------------+-------------------------------
Reporter: Olly Betts | Owner: Olly Betts
Type: enhancement | Status: assigned
Priority: normal | Milestone: 2.0.0
Component: Backend-Glass | Version:
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
---------------------------+-------------------------------
Changes (by Olly Betts):
* milestone: 1.5.0 => 2.0.0
Comment:
Pushed a simple implementation for Linux, FreeBSD, macOS and OpenBSD in
73b1b80749fc6e71d2a5934449727b1387e0ec75.
We can enable for more platforms as we are able to test them.
This is only done for glass currently since honey isn't block based and
writes at the file position. We could consider changing that, but glass
is still the default backend for now so that's where it's most useful to
add protection.
No longer a blocker for 1.5.0.
--
Ticket URL: <https://trac.xapian.org/ticket/651#comment:18>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list