func: void bad() vector < char * > dataVector ; badSink ( dataVector ); void badSink(vector<char *> dataVector) char * data = dataVector [ 2 ] ; char source [ 10 + 1 ] = SRC_STRING ; size_t i , sourceLen ; sourceLen = strlen ( source ); for (i = 0; i < sourceLen + 1; i++) data [ i ] = source [ i ]; free ( data ); 