[{"id":1766000,"web_url":"http://patchwork.ozlabs.org/comment/1766000/","msgid":"<20170910195050.GD6728@w1.fi>","list_archive_url":null,"date":"2017-09-10T19:50:50","subject":"Re: [PATCH 1/1] crypto:fix undefined behaviour","submitter":{"id":2486,"url":"http://patchwork.ozlabs.org/api/people/2486/","name":"Jouni Malinen","email":"j@w1.fi"},"content":"On Fri, Aug 18, 2017 at 06:55:17PM +0200, Michael Braun wrote:\n> ubsan reported:\n> \n> ../src/crypto/random.c:69:30: runtime error: shift exponent 32 is too large for 32-bit type 'unsigned int'\n\nThanks, applied.","headers":{"Return-Path":"<hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"n+7n+xcn\"; \n\tdkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xr1sD6KNDz9s7g\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 11 Sep 2017 05:51:28 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dr8GE-00064e-T9; Sun, 10 Sep 2017 19:51:18 +0000","from mail.w1.fi ([212.71.239.96] helo=li674-96.members.linode.com)\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat\n\tLinux)) id 1dr8G5-0005i6-Sy\n\tfor hostap@lists.infradead.org; Sun, 10 Sep 2017 19:51:12 +0000","from jm (188-67-35-238.bb.dnainternet.fi [188.67.35.238])\n\tby li674-96.members.linode.com (Postfix) with ESMTPSA id E98171195E; \n\tSun, 10 Sep 2017 19:50:50 +0000 (UTC)","by jm (sSMTP sendmail emulation); Sun, 10 Sep 2017 22:50:50 +0300"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:\n\tMessage-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=DOQjWQtCBcinMtmVRwU0X0fKZo+eAg7HJ9oEfPkj5ms=;\n\tb=n+7n+xcnK93EPc\n\tRyCjRSzixY/xMshjwwMdAC5IaU78w4U6WbPTCiVwRJmfb2ShvoUTYn9M/xIALzlhnl7+HArwthlqf\n\tBT7gGUQmnG90Av2PY36STV3BPw0otWkR4kHQsZCPg4FGNbILvENGEVNwWW4vchhhPy0vtGG2+pgFp\n\tpbdberUJH5J6gvoWl65NX16eS4PdN7hYlxH0PsX0zMqhOCJfBL94i+9z5zcyV2UNfMjIYAKHrb8XJ\n\t1AEKkEEhDI+bm5Cu1YFMoPLbVJ8ZqR1ssJC45Zy7n1gSxjAZH8xdgegd/+GQ1GFGv0H6fbnZPNk/7\n\tcVKCjusU6AJI/84gIA7w==;","Date":"Sun, 10 Sep 2017 22:50:50 +0300","From":"Jouni Malinen <j@w1.fi>","To":"Michael Braun <michael-dev@fami-braun.de>","Subject":"Re: [PATCH 1/1] crypto:fix undefined behaviour","Message-ID":"<20170910195050.GD6728@w1.fi>","References":"<1503075317-32255-1-git-send-email-michael-dev@fami-braun.de>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<1503075317-32255-1-git-send-email-michael-dev@fami-braun.de>","User-Agent":"Mutt/1.5.24 (2015-08-30)","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170910_125110_306350_FFF7F120 ","X-CRM114-Status":"UNSURE (   5.31  )","X-CRM114-Notice":"Please train this message.","X-Spam-Score":"-1.9 (-)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.9 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]","X-BeenThere":"hostap@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<hostap.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/hostap>,\n\t<mailto:hostap-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/hostap/>","List-Post":"<mailto:hostap@lists.infradead.org>","List-Help":"<mailto:hostap-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/hostap>,\n\t<mailto:hostap-request@lists.infradead.org?subject=subscribe>","Cc":"projekt-wlan@fem.tu-ilmenau.de, hostap@lists.infradead.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"Hostap\" <hostap-bounces@lists.infradead.org>","Errors-To":"hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"}}]