From owner-p4-projects Tue Apr 16 22:27:17 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C888237B41A; Tue, 16 Apr 2002 22:27:12 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 233DE37B419 for ; Tue, 16 Apr 2002 22:27:12 -0700 (PDT) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3H5RBQ53393 for perforce@freebsd.org; Tue, 16 Apr 2002 22:27:11 -0700 (PDT) (envelope-from des@freebsd.org) Date: Tue, 16 Apr 2002 22:27:11 -0700 (PDT) Message-Id: <200204170527.g3H5RBQ53393@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to des@freebsd.org using -f From: Dag-Erling Smorgrav Subject: PERFORCE change 9889 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=9889 Change 9889 by des@des.at.des.thinksec.com on 2002/04/16 22:26:16 Set rsp to NULL before calling the conversation function, so we can later detect if it hasn't been touched. Sponsored by: DARPA, NAI Labs Affected files ... ... //depot/projects/openpam/lib/pam_vprompt.c#6 edit Differences ... ==== //depot/projects/openpam/lib/pam_vprompt.c#6 (text+ko) ==== @@ -31,7 +31,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/openpam/lib/pam_vprompt.c#5 $ + * $P4: //depot/projects/openpam/lib/pam_vprompt.c#6 $ */ #include @@ -72,6 +72,7 @@ msg.msg_style = style; msg.msg = msgbuf; msgp = &msg; + rsp = NULL; r = (conv->conv)(1, &msgp, &rsp, conv->appdata_ptr); *resp = rsp == NULL ? NULL : rsp->resp; free(rsp); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message