I'm currently doing the Exploit-Exercises on level02 where in script I see a function called 'asprintf',asprintf(&buffer, "/bin/echo %s is cool" , getenv("USER"));
buffer = null; before this function call.
Please explain to me in plain english what this function do and why it is there, I know that there is another post asking the same thing but it didn't help me that much. (and YES I read the man page!)
Please no ignore or question delete, it's not the 1st time, (message to the moderators).