mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 01:01:03 +00:00
ifx bug with codeing of version 12402
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36518 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d134057c06
commit
f90dee298b
2 changed files with 11 additions and 12 deletions
|
@ -7169,6 +7169,7 @@ GS_PRIVATE_INTERNAL(GSMimeSMTPClient)
|
||||||
if (sep != ' ' && sep != '-')
|
if (sep != ' ' && sep != '-')
|
||||||
{
|
{
|
||||||
NSLog(@"Server made illegal response ... %@", s);
|
NSLog(@"Server made illegal response ... %@", s);
|
||||||
|
RELEASE(s);
|
||||||
[self _shutdown: [self _response: @"bad format"]];
|
[self _shutdown: [self _response: @"bad format"]];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -281,20 +281,18 @@ static Class NSMutableDataMallocClass;
|
||||||
}
|
}
|
||||||
bytePtr = &bytes[sizeof(bytes) - byteCount];
|
bytePtr = &bytes[sizeof(bytes) - byteCount];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* We normally store the count as a 32bit integer ... but if it's
|
||||||
|
* very big, we store 0xffffffff and then an additional 64bit value
|
||||||
|
* containing the actual count.
|
||||||
|
*/
|
||||||
|
if (count >= 0xffffffff)
|
||||||
|
{
|
||||||
|
c = 0xffffffff;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* We normally store the count as a 32bit integer ... but if it's
|
c = count;
|
||||||
* very big, we store 0xffffffff and then an additional 64bit value
|
|
||||||
* containing the actual count.
|
|
||||||
*/
|
|
||||||
if (count >= 0xffffffff)
|
|
||||||
{
|
|
||||||
c = 0xffffffff;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
c = count;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (*type)
|
switch (*type)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue