[prev in list] [next in list] [prev in thread] [next in thread]
List: libreswan-commit
Subject: [Swan-commit] Changes to ref refs/heads/master
From: Andrew Cagney <cagney () vault ! libreswan ! fi>
Date: 2018-05-25 1:52:25
Message-ID: 20180525015225.AD2363008977 () vault ! libreswan ! fi
[Download RAW message or body]
New commits:
commit 8f440ae125a1d29eb4507bd94b123d22bbd3cb2a
Author: Andrew Cagney <cagney@gnu.org>
Date: Thu May 24 21:08:20 2018 -0400
ikev1: apply another bandaid to code trying to send empty packets
Duplicate the bandaid in send_chunks() that rejects empty packets.
send_or_resend_v1_ike_msg_from_state() when passed an empty
st_tpacket, was able to stumble past a passert(st_tpacket.len!=0) (see
1f61a49a6f2d83997fcad50da20ed7cd5924b9f0 which left .len non-zero).
Only later, in send_chunks(), was a "bandaid" detecting the problem
(st_tpacket.ptr==NULL) and reject the attempt to send (grep for
"Cannot send packet - a.ptr is NULL" in code and old test results).
_______________________________________________
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic