Actions
Bug #62492
closedlibcephsqlite: short reads fill 0s at beginning of buffer
% Done:
0%
Source:
Development
Tags:
backport_processed
Backport:
reef,quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Description
"If xRead() returns SQLITE_IOERR_SHORT_READ it must also fill in the unread portions of the buffer with zeros. A VFS that fails to zero-fill short reads might seem to work. However, failure to zero-fill short reads will eventually lead to database corruption. "
https://www.sqlite.org/c3ref/io_methods.html
https://github.com/ceph/ceph/blob/dd5f8e078fe1235d25c9aca356bdd3eb2a9ed6b4/src/libcephsqlite.cc#L356
Updated by Patrick Donnelly 9 months ago
- Priority changed from Normal to Immediate
- Pull request ID set to 53053
Updated by Patrick Donnelly 9 months ago
- Status changed from In Progress to Fix Under Review
Updated by Patrick Donnelly 8 months ago
- Status changed from Fix Under Review to Pending Backport
Updated by Backport Bot 8 months ago
- Copied to Backport #62553: reef: libcephsqlite: short reads fill 0s at beginning of buffer added
Updated by Backport Bot 8 months ago
- Copied to Backport #62554: quincy: libcephsqlite: short reads fill 0s at beginning of buffer added
Updated by Backport Bot 8 months ago
- Copied to Backport #62555: pacific: libcephsqlite: short reads fill 0s at beginning of buffer added
Updated by Patrick Donnelly 6 months ago
- Status changed from Pending Backport to Resolved
Actions