]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
include/fs_types: fix crash in inodeno_t encode 11577/head
authorJohn Spray <john.spray@redhat.com>
Thu, 20 Oct 2016 14:14:07 +0000 (15:14 +0100)
committerJohn Spray <john.spray@redhat.com>
Thu, 20 Oct 2016 14:33:30 +0000 (15:33 +0100)
commit9863d79a994d7c84d25e7c31e204bf4cbd747f79
tree7681fb38658b80585429f0e33fb60ba38b3b3a5c
parentdcb0ab1eb5c596b6219d46cc5abac68b28f87cf6
include/fs_types: fix crash in inodeno_t encode

Passing by value tries to copy from a null and segfaults.

Fixes: http://tracker.ceph.com/issues/17636
Signed-off-by: John Spray <john.spray@redhat.com>
src/include/fs_types.h