Bug#657524: libpam-yubico: segfaults on the failed second challenge-responses

2012-01-27 Thread Simon Josefsson
tags 657524 patch,pending,confirmed,upstream,fixed-upstream thanks Fredrik Thulin writes: > On Fri, Jan 27, 2012 at 12:26 PM, Simon Josefsson wrote: >> Fredrik Thulin writes: >> The following working patch clearly shows the problem. >>> ... +  f = NULL; >>> >>> Do you say that the pa

Bug#657524: libpam-yubico: segfaults on the failed second challenge-responses

2012-01-27 Thread Fredrik Thulin
On Fri, Jan 27, 2012 at 12:26 PM, Simon Josefsson wrote: > Fredrik Thulin writes: > >>> The following working patch clearly shows the problem. >> ... >>> +  f = NULL; >> >> Do you say that the patch *solves* the problem, or that it reproduces >> the problem reliably? > > Looking at the code, I th

Bug#657524: libpam-yubico: segfaults on the failed second challenge-responses

2012-01-27 Thread Simon Josefsson
Fredrik Thulin writes: >> The following working patch clearly shows the problem. > ... >> +  f = NULL; > > Do you say that the patch *solves* the problem, or that it reproduces > the problem reliably? Looking at the code, I think there is a double-fclose going on, and my reading of the patch abo

Bug#657524: libpam-yubico: segfaults on the failed second challenge-responses

2012-01-27 Thread Fredrik Thulin
Thank you for the bug report! Can I just ask you to clarify two things? See questions inline below. On Thu, Jan 26, 2012 at 8:49 PM, Lingzhu Xiang wrote: > Package: libpam-yubico > Version: 2.10-1 > Severity: important > Tags: upstream patch > > I use a Yubikey 2.2.4 with libpam-yubico for challe

Bug#657524: libpam-yubico: segfaults on the failed second challenge-responses

2012-01-26 Thread Lingzhu Xiang
Package: libpam-yubico Version: 2.10-1 Severity: important Tags: upstream patch I use a Yubikey 2.2.4 with libpam-yubico for challenge-response authentication. The authentication requires two phases of challenges-responses. I set the Yubikey to wait for key press before answering the challenges. S