Crash [@ CAccessibleText::get_attributes(long, long*, long*, unsigned short**) ], r=aaronlev, a=dsicore

git-svn-id: svn://10.0.0.236/trunk@250677 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
surkov.alexander%gmail.com
2008-04-23 06:01:02 +00:00
parent 3a8adb7ce0
commit f9b12f2390

View File

@@ -99,6 +99,9 @@ CAccessibleText::get_attributes(long aOffset, long *aStartOffset,
long *aEndOffset, BSTR *aTextAttributes)
{
__try {
if (!aStartOffset || !aEndOffset || !aTextAttributes)
return E_INVALIDARG;
*aStartOffset = 0;
*aEndOffset = 0;
*aTextAttributes = NULL;