In my sample program, some of the code like this:
unsigned char *temp = NULL;
temp = (usigned char*) malloc(100);
printf("temp = %s\n", temp);
void FunctionTwo(unsigned char* Buffer)
// don't know the implementation here
I don't know why the value of temp can be changed after calling FunctionTwo.
Any idea in doing this?