I don't think you can exploit it in this state. But the code has some serious mistakes, and if it is used productively, it could lead to vulnerable code.
- malloc(strlen(s1)) --> forgot to allocate space for the string terminator
- return statement is missing (violates the standard)
- char dest seems to have the wrong type