]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
libcephsqlite: fill 0s in unread portion of buffer
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 00:53:11 +0000 (20:53 -0400)
commitd94684c1ee3d1436c878fe5d33ea27b2eb1144d5
treea82ea1ef66f98663036707c21fee9bcb3dcadd00
parent82e26145840910812cb21672e36ed9bc78917480
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>
src/libcephsqlite.cc