Can you explain in more details what is happening now and how it changes with 
this PR?

Also, I noticed that instead of a reference in an output parameter, now it 
makes a hard copy:

```
-                       *from = &si->su;
+                       memcpy(*from, &si->su, sockaddru_len(si->su));
```

A reference has the size of a pointer, but the commit is copying data of size 
`sockaddru_len(si->su)`. Is it really correct and what you wanted to do?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3925#issuecomment-2236287429
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/3925/c2236287...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to