]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
libcephsqlite: fill 0s in unread portion of buffer 53102/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:03:26 +0000 (14:03 -0400)
commitbfcf6ebf83545242c35213372f75e711fbbc0693
tree3effad6a2624a59247400144b18a9807063e26c1
parentd11b51755b6e6eb58b3b2658722a27f8282a25cd
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