[Swan-dev] not happy due sockaddr_to_endpoint check

Antony Antony antony at phenome.org
Fri Mar 6 16:47:32 UTC 2020

while fixing the bug, left=%eth1, reported in 
https://lists.libreswan.org/pipermail/swan/2020/003458.html. I ran into a
!happy() and core dump. If I remove the following check the fix would work; 
test case addconn-05 

-               /* XXX: to strict? */
-               if (sa_len != sizeof(sa->sin)) {
-                       return "wrong length";
-               }

I am not quite sure what this check is. May be Andrew or someone else take 
look complete the fix?

the testrun that shows addconn !happy()

I committed the output with those lines temporarily removed.


More information about the Swan-dev mailing list