Re: [PATCH v2] test/xattr: don't rely on NUL-termination

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 16 Aug 2022 12:51:34 +0200, Jiri Slaby wrote:
> The returned value from io_uring_fgetxattr() needs not be NUL-terminated,
> as we stored non-NUL-terminated string by io_uring_fsetxattr()
> previously.
> 
> So don't use strlen() on value, but on VALUE1, and VALUE2 respectively.
> 
> This fixes random test failures.
> 
> [...]

Applied, thanks!

[1/1] test/xattr: don't rely on NUL-termination
      commit: bf3fedba890e66d644692910964fe1d8cbf4fb1b

Best regards,
-- 
Jens Axboe





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux