-
Sub-task
-
Resolution: Fixed
-
Major
-
None
-
None
-
Security Level: Public (Visbile by non-authn users.)
-
None
The address sanitizer reports an indirect memory leak in ns1__srmStatusOfPutRequest
#0 0x7f143be752ef in operator new(unsigned long) (/lib64/libasan.so.5+0x10e2ef) #1 0x54e3ef in ns1__srmStatusOfPutRequest /home/centos/storm-frontend.git/src/frontend/asynch_status.cpp:48
which corresponds to the line:
request = new storm::PutStatusRequest(soap, req);
I don't know what "indirect" means, but certainly the raw pointer is not safe in presence of early returns (including exceptions) in the following code. Better use a smart pointer.
- relates to
-
STOR-1320 Allocate storm::*Request on the stack
- Resolved