From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5F9B03851C04; Mon, 25 May 2020 09:46:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5F9B03851C04 From: "liaichun at huawei dot com" To: glibc-bugs@sourceware.org Subject: [Bug nss/26038] [core_dump] call getpwnam_r() appears core_dump Date: Mon, 25 May 2020 09:46:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nss X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: liaichun at huawei dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2020 09:46:51 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26038 --- Comment #3 from liaichun --- (In reply to Andreas Schwab from comment #2) > If no_more is nonzero then the loop is never entered. ---int no_more not static int no_more,so when i call getpwnam_r () again ,no_more would be zero, and into the loop --=20 You are receiving this mail because: You are on the CC list for the bug.=