Bug 92843

Summary: fix in test-code for file descriptor validity check
Product: p11-glue Reporter: Pankaj <pankaj.s01>
Component: p11-kitAssignee: Stef Walter <stefw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: stefw
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: p11-kit-0.23.1-test-compat-001 patch

Description Pankaj 2015-11-06 06:13:55 UTC
Created attachment 119431 [details] [review]
p11-kit-0.23.1-test-compat-001 patch

Hi,
just check for valid file descriptor before closing it in test-code.
p11-kit-0.23.1/common/test-compat.c:117.

the patch has been attached, please review it.

Thanks!
Pankaj Sharma
Comment 1 Stef Walter 2015-11-09 08:42:53 UTC
Thanks. Merged to git master.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.