Bug 92813 - dereferencing a pointer 'sess' may be NULL returned from function
Summary: dereferencing a pointer 'sess' may be NULL returned from function
Status: RESOLVED FIXED
Alias: None
Product: p11-glue
Classification: Unclassified
Component: p11-kit (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Stef Walter
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-04 12:11 UTC by Pankaj
Modified: 2016-12-13 14:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
p11-kit-mock-001 patch (411 bytes, text/plain)
2015-11-04 12:11 UTC, Pankaj
Details

Description Pankaj 2015-11-04 12:11:33 UTC
Created attachment 119399 [details]
p11-kit-mock-001 patch

Hi ,
This is an issue reported for dereferencing a NULL pointer 'sess' ,if calloc() failed to return allocated memory. but there is rare chance to be calloc failed.

file : p11-kit-0.23.1/common/mock.c:918
the patch has been attached ,please review it.

thanks !
Pankaj Sharma


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.