The assert for error checking used the wrong variable. data_buf was checked instead of the ret variable. Fixes #22656 Coverity-CID: 208192 Signed-off-by: Alexander Wachter <alexander@wachter.cloud>