[Xapian-tickets] [Xapian] #651: Protect writable fds by setting filepos very high

Xapian nobody at xapian.org
Tue May 28 02:26:46 BST 2024


#651: Protect writable fds by setting filepos very high
---------------------------+-------------------------------
 Reporter:  Olly Betts     |             Owner:  Olly Betts
     Type:  enhancement    |            Status:  assigned
 Priority:  normal         |         Milestone:  1.5.0
Component:  Backend-Glass  |           Version:
 Severity:  normal         |        Resolution:
 Keywords:                 |        Blocked By:
 Blocking:                 |  Operating System:  All
---------------------------+-------------------------------
Comment (by Olly Betts):

 More results from testing on cfarm.net machines:

 * macOS 12.6 is able to seek to the maximum off_t value (same as result
 reported for 10.10 above).
 * OpenBSD 7.5 (cfarm220) is able to seek to the maximum off_t value.
 * FreeBSD 14.0 (cfarm240) is able to seek to the maximum off_t value.
 * AIX 7.1 and 7.3 (on cfarm111 and cfarm119) max is `0xffffffff000` (same
 as Linux ext4); we don't have CI coverage though so would need a full
 manual test build.
 * Solaris 11.4 (cfarm215) is able to seek to the maximum off_t value; we
 don't have CI coverage though so would need a full manual test build.
-- 
Ticket URL: <https://trac.xapian.org/ticket/651#comment:17>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list