Buffer Overrun This code reads past the end of the buffer pointed to by the return value. the return value evaluates to &#unnamed.dResourceImpl.cpp:170. The code reads 16 bytes starting at the beginning of the buffer pointed to by the return value, whose capacity is 4 bytes. The number of bytes read exceeds the number of allocated bytes. The overrun occurs in stack memory. The issue can occur if the highlighted code executes.
QVariant ResourceImpl::getProperty(QString propertyName)
{
return ResourceBase::getProperty(propertyName);
}
// In ResourceBase getProperty(QString propertyName) declare
virtual QVariant getProperty(QString propertyName);