* debug_demangle_symbol() did not set _isObjectMethod when there was no

demangle module (yet). This could cause a read fault in x86's
  print_demangled_call() (as it assumed there must be a ':' when this is true).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28375 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2008-10-30 11:16:01 +00:00
parent 225c0ed641
commit cca9f05114

View File

@ -1561,6 +1561,9 @@ debug_demangle_symbol(const char* symbol, char* buffer, size_t bufferSize,
_isObjectMethod);
}
if (_isObjectMethod != NULL)
*_isObjectMethod = false;
return symbol;
}