mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Fix possible deref of null pointer
This commit is contained in:
parent
7ba39b8378
commit
ee8bb1fbeb
1 changed files with 4 additions and 4 deletions
|
@ -466,12 +466,12 @@ static NSArray *keys = nil;
|
|||
fromInputStream: (NSStream*)i
|
||||
orOutputStream: (NSStream*)o
|
||||
{
|
||||
NSString *str;
|
||||
NSMutableDictionary *opts = *dict;
|
||||
NSUInteger count;
|
||||
|
||||
if (NULL != dict)
|
||||
{
|
||||
NSString *str;
|
||||
NSMutableDictionary *opts = *dict;
|
||||
NSUInteger count;
|
||||
|
||||
if (nil != pri)
|
||||
{
|
||||
[opts setObject: pri forKey: GSTLSPriority];
|
||||
|
|
Loading…
Reference in a new issue