]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
libcephsqlite: fill 0s in unread portion of buffer 53103/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:04:07 +0000 (14:04 -0400)
commitab641cfb8db20bf48c5173b3012191d14d38c197
treea302b99bbd72f88afbc18a2fe69fea65c5024eb7
parent595355f450898939abedfa92883f9a78b18c37aa
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