Fix possible deref of null pointer

This commit is contained in:
Richard Frith-Macdonald 2018-01-30 14:34:27 +00:00
parent 7ba39b8378
commit ee8bb1fbeb

View file

@ -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];