]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
libcephsqlite: fill 0s in unread portion of buffer 53101/head
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 18 Aug 2023 17:43:27 +0000 (13:43 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 23 Aug 2023 18:02:49 +0000 (14:02 -0400)
commit7fc581658249406868b7d9f0c2aa0c611d510ef1
treea90eab675d92e1909ac8cb8db0eb68e655925e03
parent85d2a2eff44aa5030b6784e939b8d423e87669d4
libcephsqlite: fill 0s in unread portion of buffer

Unfortunately, this code is filling 0s at the beginning of the short-read
buffer.

Fixes: https://tracker.ceph.com/issues/62492
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit d94684c1ee3d1436c878fe5d33ea27b2eb1144d5)
src/libcephsqlite.cc