@miconda commented on this pull request.
the declaraton of buf_ip has to be static because you return the pointer to it. Right now it is allocated on the stack and the pointer becomes invalid when the function finishes its execution. It has to be like:
static char buf_ip ...
Alternative is to use the core buffer for pvs, that you can retrieve with pv_get_buffer()
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.