Opened 11 years ago

Closed 10 years ago

#9890 closed bug (fixed)

[app_server] RemoteDrawingEngine.cpp: Called C++ object pointer is null

Reported by: mt Owned by: axeld
Priority: normal Milestone: R1
Component: Servers/app_server Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

In RemoteDrawingEngine::_ExtractBitmapRegions(), if variable "bitmaps[i]" fails to allocate, then calling bitmaps[i]->ImportBits() is invalid. Please see attached report.

Attachments (2)

0013-Fix-called-C-object-pointer-is-null.patch (1.5 KB ) - added by mt 11 years ago.
Patch
report-9QlBqW.html (124.7 KB ) - added by mt 11 years ago.
Report by Clang Static Analyzer

Download all attachments as: .zip

Change History (4)

comment:1 by mt, 11 years ago

patch: 01

by mt, 11 years ago

Attachment: report-9QlBqW.html added

Report by Clang Static Analyzer

comment:2 by korli, 10 years ago

Resolution: fixed
Status: newclosed

Applied in hrev46346. Thanks!

Note: See TracTickets for help on using tickets.