Project

General

Profile

Actions

Bug #36345

closed

librados C API aio read empty buffer

Added by Anonymous over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
Dev Interfaces
Target version:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
librados
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When using the AIO functions, the readbuffer remains empty. when using the normal rados_read, the buffer is filled with contents

same code works without problems in 12.2.3

sample program attached, limited the print of the object to 60 chars.


Files

test_ceph.c (2.53 KB) test_ceph.c Anonymous, 10/08/2018 02:56 PM
test_ceph.cc (1.96 KB) test_ceph.cc Anonymous, 10/08/2018 04:11 PM

Related issues 1 (0 open1 closed)

Related to Ceph - Bug #23964: Buffer overflow if operation returns more data than length provided to aio_execute.ResolvedAleksei Gutikov05/02/2018

Actions
Actions

Also available in: Atom PDF