mbox series

[liburing,v1,00/10] liburing test fixes

Message ID 20220810002735.2260172-1-ammar.faizi@intel.com (mailing list archive)
Headers show
Series liburing test fixes | expand

Message

Ammar Faizi Aug. 10, 2022, 12:31 a.m. UTC
From: Ammar Faizi <ammarfaizi2@gnuweeb.org>

Hi Jens,

All test fixes of "reading uninitialized memory" bug. Mostly just a
one liner change.

Reported-by: Vitaly Chikunov <vt@altlinux.org>
Signed-off-by: Ammar Faizi <ammarfaizi2@gnuweeb.org>
---

Ammar Faizi (10):
  test/cq-overflow: Don't call `io_uring_queue_exit()` if the ring is not initialized
  test/eeed8b54e0df: Initialize the `malloc()`ed buffer before `write()`
  test/file-verify: Fix reading from uninitialized buffer
  test/fixed-reuse: Fix reading from uninitialized array
  test/fpos: Fix reading from uninitialized buffer
  test/statx: Fix reading from uninitialized buffer
  test/submit-link-fail: Initialize the buffer before `write()`
  test/232c93d07b74: Fix reading from uninitialized buffer
  test/eventfd-disable: Fix reading uninitialized variable
  test/file-register: Fix reading from uninitialized buffer

 test/232c93d07b74.c     | 2 +-
 test/cq-overflow.c      | 5 +++--
 test/eeed8b54e0df.c     | 1 +
 test/eventfd-disable.c  | 2 +-
 test/file-register.c    | 2 +-
 test/file-verify.c      | 5 ++++-
 test/fixed-reuse.c      | 2 +-
 test/fpos.c             | 3 +++
 test/statx.c            | 2 +-
 test/submit-link-fail.c | 2 +-
 10 files changed, 17 insertions(+), 9 deletions(-)


base-commit: 2757d61fa222739f77b014810894b9ccea79d7f3

Comments

Jens Axboe Aug. 10, 2022, 1:03 p.m. UTC | #1
On Wed, 10 Aug 2022 07:31:49 +0700, Ammar Faizi wrote:
> From: Ammar Faizi <ammarfaizi2@gnuweeb.org>
> 
> Hi Jens,
> 
> All test fixes of "reading uninitialized memory" bug. Mostly just a
> one liner change.
> 
> [...]

Applied, thanks!

[01/10] test/cq-overflow: Don't call `io_uring_queue_exit()` if the ring is not initialized
        commit: f5c96cb63b6f412e08b41d6cb8188da1535e70cd
[02/10] test/eeed8b54e0df: Initialize the `malloc()`ed buffer before `write()`
        commit: 397f5444bc442e566dd826466048a428f066a1eb
[03/10] test/file-verify: Fix reading from uninitialized buffer
        commit: d8efaf3df0abbda513af142da3ee6ff41955bdda
[04/10] test/fixed-reuse: Fix reading from uninitialized array
        commit: e1b740d46b08766da9d1dfe9ce88f051a238724e
[05/10] test/fpos: Fix reading from uninitialized buffer
        commit: 5ce220568c07b34766b5410e4cfee7ccd672e33b
[06/10] test/statx: Fix reading from uninitialized buffer
        commit: 776ac6cb9e6320feaf3ce516ae2e64d49ed4de37
[07/10] test/submit-link-fail: Initialize the buffer before `write()`
        commit: a97696720c41e7602c3ae5715b826fa3b566034b
[08/10] test/232c93d07b74: Fix reading from uninitialized buffer
        commit: c340e89671933bb13f0add1e04c5a350a03c672b
[09/10] test/eventfd-disable: Fix reading uninitialized variable
        commit: d879fbf9134e04f1e34e56b3575f9fafe9949c2d
[10/10] test/file-register: Fix reading from uninitialized buffer
        commit: 3bfe26a0c6e400d15060c8331ebc4280f01da4ca

Best regards,