Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: Jens In-Reply-To: Date: Thu, 21 Apr 2016 08:51:27 +0200 Message-Id: References: Subject: Re: [Openvpn-devel] [PATCH] auth-pam:Fix buffer overflow by user supplied data List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable To: Steffan Karger Cc: openvpn-devel Hi Steffan, [=E2=80=A6] >=20 > This is without a doubt an improvement, but it still leaves an > opportunity open to achieve a buffer overflow through an integer > overflow. Consider a tosearch with len 11, and a replacewith with len [=E2=80=A6] Good point. Patch attached. Cheers Jens