mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
Fix obscure crasher
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17281 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6c5cb2fa99
commit
2006c0f018
3 changed files with 26 additions and 5 deletions
|
@ -897,8 +897,16 @@ if (dst == 0) \
|
|||
* adjust the offset into the local buffer on the \
|
||||
* stack and pretend the buffer has grown. \
|
||||
*/ \
|
||||
ptr -= BUFSIZ; \
|
||||
bsize += BUFSIZ; \
|
||||
if (extra == 0) \
|
||||
{ \
|
||||
ptr -= BUFSIZ; \
|
||||
bsize += BUFSIZ; \
|
||||
} \
|
||||
else \
|
||||
{ \
|
||||
ptr -= BUFSIZ-1; \
|
||||
bsize += BUFSIZ-1; \
|
||||
} \
|
||||
} \
|
||||
else if (zone == 0) \
|
||||
{ \
|
||||
|
@ -1389,8 +1397,16 @@ if (dst == 0) \
|
|||
* adjust the offset into the local buffer on the \
|
||||
* stack and pretend the buffer has grown. \
|
||||
*/ \
|
||||
ptr -= BUFSIZ; \
|
||||
bsize += BUFSIZ; \
|
||||
if (extra == 0) \
|
||||
{ \
|
||||
ptr -= BUFSIZ; \
|
||||
bsize += BUFSIZ; \
|
||||
} \
|
||||
else \
|
||||
{ \
|
||||
ptr -= BUFSIZ-1; \
|
||||
bsize += BUFSIZ-1; \
|
||||
} \
|
||||
} \
|
||||
else if (zone == 0) \
|
||||
{ \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue