SQLite

Ticket Change Details
Login
Overview

Artifact ID: 355cefba04188f32daf1fcedfefd249f976e5561
Ticket: bb3a86e890c8e96ab59af7acb43039b861387e0c
SQLITE_FCNTL_SIZE_HINT overflows an array
User & Date: drh 2011-04-13 13:22:03
Changes

  1. comment changed to:
    Due to an inadequately-tested last-minute change prior to the 3.7.6 release,
    use of the SQLITE_FCNTL_SIZE_HINT file control operation on unix builds where
    SQLITE_ENABLE_LOCKING_STYLE is 0 (or undefined) and HAVE_POSIX_FALLOCATE is
    defined will cause an array index to be off by one and will probably result
    in a segfault.
    
    The problem was introduced by check-in [51029d8430d2dbc] just prior to the
    release.
    
    The work-around is to omit the HAVE_POSIX_FALLOCATE compile-time option from
    the build.  Or, avoid using SQLITE_FCNTL_SIZE_HINT.
    
  2. Untracked field detected: "Application_Fault"
  3. foundin changed to: "3.7.6"
  4. severity changed to: "Important"
  5. status changed to: "Open"
  6. subsystem changed to: "Unknown"
  7. title changed to: "SQLITE_FCNTL_SIZE_HINT overflows an array"
  8. type changed to: "Code_Defect"