[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 

sockaddr_to_endpoint
-               /* 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()
https://testing.libreswan.org/v3.30-234-gc99cdc6ecb-master/addconn-05/OUTPUT/east.console.diff 

I committed the output with those lines temporarily removed.

-antony


More information about the Swan-dev mailing list