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-next>] [day] [month] [year] [list]
Message-ID: <462E52DE.5000900@ericsson.com>
Date:	Tue, 24 Apr 2007 14:56:30 -0400
From:	Jon Paul Maloy <jon.maloy@...csson.com>
To:	davem@...emloft.net, netdev@...r.kernel.org,
	Jon Paul Maloy <jon.maloy@...csson.com>,
	Per Liden <per.liden@...csson.com>,
	"Stephens, Allan" <allan.stephens@...driver.com>
Subject: [Fwd: [PATCH] [TIPC]: Enhancements to msg_set_bits() routine]

This patch makes two enhancements to msg_set_bits():

1) It now ignores any bits of the new field value that are not
   covered by the mask being used.  (Previously, if the new value
   exceeded the size of the mask the extra bits could corrupt
   other fields in the message header word being updated.)

2) The code has been optimized to minimize the number of run-time
   endianness conversion operations by leveraging the fact that the
   mask (and, in some cases, the value as well) is constant and the
   necessary conversion can be performed by the compiler.

Apply the attached patch, or pull from:

 git://tipc.cslab.ericsson.net/pub/git/tipc.git

 (rebased on linux/kernel/git/davem/net-2.6.git)

Summary:

 net/tipc/msg.h |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)


///Jon




View attachment "0001-TIPC-Enhancements-to-msg_set_bits-routine.patch" of type "text/x-patch" (1895 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ