Skip to content
This repository was archived by the owner on Apr 24, 2019. It is now read-only.

Commit 3f1ec39

Browse files
teetak01Yogesh Pande
authored andcommitted
Merge pull request #475 from ARMmbed/fix_valgrind_warning
Fix invalid read of size warning.
2 parents b14df84 + 237dd41 commit 3f1ec39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/m2mnsdlinterface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1732,7 +1732,7 @@ const String M2MNsdlInterface::internal_endpoint_name() const
17321732
// Get last part of the location path.
17331733
// In mbed Cloud environment full path is /rd/accountid/internal_endpoint
17341734
int location = temp.find_last_of('/') + 1;
1735-
iep.append((const char*)_nsdl_handle->ep_information_ptr->location_ptr + location,
1735+
iep.append_raw((const char*)_nsdl_handle->ep_information_ptr->location_ptr + location,
17361736
_nsdl_handle->ep_information_ptr->location_len - location);
17371737
}
17381738
return iep;

0 commit comments

Comments
 (0)