[Swan-commit] Changes to ref refs/heads/master

Andrew Cagney cagney at vault.libreswan.fi
Fri May 25 01:52:25 UTC 2018

New commits:
commit 8f440ae125a1d29eb4507bd94b123d22bbd3cb2a
Author: Andrew Cagney <cagney at 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).

More information about the Swan-commit mailing list