mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Fix crash when forming union
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20879 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
29131e7028
commit
627669a03b
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-03-09 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSCharacterSet.m: Fix bug in forming union ... was using
|
||||
wrong length.
|
||||
|
||||
2005-03-08 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSCharacterSetData.h: Add data outside unicode base plane.
|
||||
|
|
|
@ -338,7 +338,7 @@
|
|||
_length = other_length;
|
||||
_data = [_obj mutableBytes];
|
||||
}
|
||||
for (i = 0; i < _length; i++)
|
||||
for (i = 0; i < other_length; i++)
|
||||
{
|
||||
_data[i] = (_data[i] | other_bytes[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue