Date: Tue, 9 Jun 2020 16:09:20 +0200 (CEST) Message-Id: <202006091409.059E9Kqi008264@...2054...> From: Gert Doering In-Reply-To: <20200609080229.2564-1-gert@...1296...> References: <20200609080229.2564-1-gert@...1296...> Subject: [Openvpn-devel] [PATCH applied] Re: Simplify pool size handling, fix possible array overrun on pool reading. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Gert Doering Cc: openvpn-devel@lists.sourceforge.net Patch has been applied to the master branch. I have amended most whitespace as requested, and removed the "pool-> size = 0" initialization (not needed, indeed). I have left the brackets on the pool size calculation as they were - uncrustify says "that is also ok", and I find visibly grouping the different parts of the formula helps understanding what it does. commit e7c0cd996f35965172c5def9531b6ab9ca10c389 Author: Gert Doering Date: Tue Jun 9 10:02:29 2020 +0200 Simplify pool size handling, fix possible array overrun on pool reading. Signed-off-by: Gert Doering Acked-by: Antonio Quartulli Message-Id: <20200609080229.2564-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20006.html Signed-off-by: Gert Doering -- kind regards, Gert Doering