| शीर्षक | Ogre3D Ogre v14.4.1 / master commit f629d22 Mismatched Memory Management Routines |
|---|
| विवरण | The issue arises from a memory management mismatch. The function stbi_write_png_to_mem() allocates its output buffer using malloc (via STBIW_MALLOC). Ogre then wraps this buffer inside MemoryDataStream(data, len, true), which assumes ownership and later frees it with delete[]. Because malloc and delete[] are incompatible allocators, this leads to undefined behavior. AddressSanitizer consistently detects the problem as an alloc-dealloc-mismatch. |
|---|
| स्रोत | ⚠️ https://github.com/OGRECave/ogre/issues/3446 |
|---|
| उपयोगकर्ता | sand (UID 90194) |
|---|
| सबमिशन | 15/09/2025 08:24 AM (11 महीनों पहले) |
|---|
| संयम | 26/09/2025 08:40 AM (11 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 325958 [OGRECave Ogre तक 14.4.1 OgreSTBICodec.cpp STBIImageCodec::encode Local Privilege Escalation] |
|---|
| अंक | 20 |
|---|