CID 1643 : Off-byÃ-one rray access.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37956 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2644dc421a
commit
c9b2be8bea
@ -98,7 +98,7 @@ const char*
|
||||
BLanguage::GetString(uint32 id) const
|
||||
{
|
||||
if (id < B_LANGUAGE_STRINGS_BASE
|
||||
|| id > B_LANGUAGE_STRINGS_BASE + B_NUM_LANGUAGE_STRINGS)
|
||||
|| id >= B_LANGUAGE_STRINGS_BASE + B_NUM_LANGUAGE_STRINGS)
|
||||
return NULL;
|
||||
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user