Menu

#13 memory corruption

v1.0 (example)
open
nobody
None
5
2016-05-24
2016-05-24
No

hi Atomicparsley
I am faced with memory corruption bug

in AtomicParsley.cpp
memset(uuid_info.binary_uuid, 0, 20);
must be replaced on
memset(uuid_info.binary_uuid, 0, sizeof(char)16 + 1);
because
uuid_info.binary_uuid=(char
)malloc(sizeof(char)*16 + 1); //this will hold any potential 16byte uuids

thanks for good work and useful app

Discussion


Log in to post a comment.