summaryrefslogtreecommitdiffstats
path: root/tests/bugs/glusterd/bug-857330/xml.t
diff options
context:
space:
mode:
authorXavi Hernandez <xhernandez@redhat.com>2020-09-23 12:50:07 +0200
committerMOHIT AGRAWAL <moagrawa@redhat.com>2020-09-25 04:00:15 +0000
commit9310e319daad357e02fbc59a22fe4ba34d7bc4b3 (patch)
tree1a4b06aafd8ed5f52e26feb7e072967ccace7cc3 /tests/bugs/glusterd/bug-857330/xml.t
parentd7ce8331a146aff84f8d222bc93c7af610707540 (diff)
gfapi: Check the fd argument before accessing it
Some public GFAPI functions did access the fd object without verifying that it wasn't NULL, causing crashes in some cases. This patch returns an error code in case it's NULL. Updates: #1009 Change-Id: I8cadde87ae8d542e0af9b55aa866fe763f97d4fb Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
Diffstat (limited to 'tests/bugs/glusterd/bug-857330/xml.t')
0 files changed, 0 insertions, 0 deletions