Closed vsolontsov-ll closed 5 months ago
I know it's trivial and unlikely anyone will really be confused but might be worth to fix. set_iowq_affinity passes pointer to uninitialized mask.
set_iowq_affinity
mask
static void set_iowq_affinity(struct io_uring *ring) { cpu_set_t mask; int ret; if (cfg_cpu == -1) return; ret = io_uring_register_iowq_aff(ring, 1, &mask); ...
Thanks!
I know it's trivial and unlikely anyone will really be confused but might be worth to fix.
set_iowq_affinity
passes pointer to uninitializedmask
.