From dev-return-38393-apmail-mina-dev-archive=mina.apache.org@mina.apache.org Mon Oct 12 20:19:00 2020 Return-Path: X-Original-To: apmail-mina-dev-archive@www.apache.org Delivered-To: apmail-mina-dev-archive@www.apache.org Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with ESMTP id 7CF5B1AD4F for ; Mon, 12 Oct 2020 20:19:00 +0000 (UTC) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id 17A7412285F for ; Mon, 12 Oct 2020 20:19:00 +0000 (UTC) Received: (qmail 63334 invoked by uid 500); 12 Oct 2020 20:18:59 -0000 Delivered-To: apmail-mina-dev-archive@mina.apache.org Received: (qmail 63311 invoked by uid 500); 12 Oct 2020 20:18:59 -0000 Mailing-List: contact dev-help@mina.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@mina.apache.org Received: (qmail 63299 invoked by uid 99); 12 Oct 2020 20:18:59 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2020 20:18:59 +0000 From: =?utf-8?q?GitBox?= To: dev@mina.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bmina-sshd=5D_norrisjeremy_opened_a_new_pull_reques?= =?utf-8?q?t_=23173=3A_Fix_incrementing_the_invocation=5Fcounter_part_of_the?= =?utf-8?q?_IV=2E?= Message-ID: Date: Mon, 12 Oct 2020 20:18:59 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit norrisjeremy opened a new pull request #173: URL: https://github.com/apache/mina-sshd/pull/173 Since the invocation_counter part of the IV is treated as a uint64, guarding against overflow by using Math.addExact() would incorrectly throw an ArithmeticException when it hits Long.MAX_VALUE. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org For additional commands, e-mail: dev-help@mina.apache.org