mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 09:02:01 +00:00
Fix bug deserialising large objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24877 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
09d19a7f59
commit
d6096ada5b
2 changed files with 58 additions and 53 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-03-15 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSPropertyList.m: ([GSBinaryPLParser-readCountAt:])
|
||||||
|
Handle counts for objects larger than 64KB correctly.
|
||||||
|
|
||||||
2007-03-14 Richard Frith-Macdonald <rfm@gnu.org>
|
2007-03-14 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* configure.ac: By default disable the GNUSTEP_CONFIOG_FILE
|
* configure.ac: By default disable the GNUSTEP_CONFIOG_FILE
|
||||||
|
|
|
@ -2928,7 +2928,7 @@ GSPropertyListMake(id obj, NSDictionary *loc, BOOL xml,
|
||||||
}
|
}
|
||||||
else if ((c > 0x11) && (c <= 0x13))
|
else if ((c > 0x11) && (c <= 0x13))
|
||||||
{
|
{
|
||||||
unsigned len = 1 << (c - 0x10);
|
unsigned len = c - 0x0f;
|
||||||
unsigned char buffer[len];
|
unsigned char buffer[len];
|
||||||
int i;
|
int i;
|
||||||
unsigned long num = 0;
|
unsigned long num = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue