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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <44BA39E5.7060002@feix.cz>
Date:	Sun, 16 Jul 2006 15:06:45 +0200
From:	Michal Feix <michal@...x.cz>
To:	Paul.Clements@...eleye.com
CC:	linux-kernel@...r.kernel.org
Subject: [PATCH] nbd: Check magic before doing anything else

We should check magic sequence in reply packet before trying to find
request with it's request handle. This also solves the problem with
"Unexpected reply" message beeing logged, when packet with invalid magic
is received.

Signed-off-by: Michal Feix <michal@...x.cz>

---


View attachment "nbd.c.magic-check.diff" of type "text/plain" (1083 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ