Hi guys,
today, I investigated meego-ux-component/imageprovidercache module,I had
found that when image cache is full, imageprovidercache can cause memory
access error. please reference the following code snapshot.
requestImage->addImageToMemory->saveMemoryInfo
when calling addImageToMemory, this function does not check
m_imageTable.size() is little than m_memoryInfo.imageMaxCount, so this
can cause overwrite ImageTable(n) sector.
so addImageToMemory and saveMemoryInfo function should double check
imageMaxCount and pixmapMaxCount.
Thanks,
Steven Liu
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies from
your system. Thank you.
---------------------------------------------------------------------------------------------------
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines