While building gtkpod 2.1.2 on open build service, the build root policy checker reports this error:
E: gtkpod bufferoverflow AtomicParsley.cpp:1891:42
The source in question is:
char* result = (char*) malloc(sizeof(char) * 6);
sprintf(result, "hex 0x");
=> the size of result needs to cater for a \0 in plus to "hex 0x", thus needs to be 7 chars long.
Log in to post a comment.