lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5b7ecad7c0c363efc9bb8d56b193fc1f@manguebit.com>
Date: Mon, 28 Apr 2025 10:36:53 -0300
From: Paulo Alcantara <pc@...guebit.com>
To: Max Kellermann <max.kellermann@...os.com>, dhowells@...hat.com,
 netfs@...ts.linux.dev, linux-kernel@...r.kernel.org
Cc: Max Kellermann <max.kellermann@...os.com>
Subject: Re: [PATCH] fs/netfs/read_collect: remove duplicate line

Max Kellermann <max.kellermann@...os.com> writes:

> @@ -653,7 +653,6 @@ ssize_t netfs_wait_for_read(struct netfs_io_request *rreq)
>  		switch (rreq->origin) {
>  		case NETFS_DIO_READ:
>  		case NETFS_READ_SINGLE:
> -			ret = rreq->transferred;
>  			break;
>  		default:
>  			if (rreq->submitted < rreq->len) {

This is wrong.  @ret is expected to have the amount of bytes
successfully read if no error.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ