Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-214

vpp-api-test: api_ipsec_sad_add_del_entry: vector "ck" not initialized

XMLWordPrintable

      If you forget "crypto_key HHHHHHH", a SEGFAULT (or other misbehavior) will result:
      clib_memcpy (mp->crypto_key, ck, mp->crypto_key_length);

      Multiple instances of this bug in this file. Variables "ck" and "ik" are involved, in both ../vpp-api-test/vat/api_format.c and .../vnet/vnet/ipsec/ipsec_cli.c

      This is a good beginner bug for learning how to submit a patch

            matfabia Matus Fabian
            dbarach Dave Barach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Time Spent - 1 hour Remaining Estimate - 7 hours
                7h
                Logged:
                Time Spent - 1 hour Remaining Estimate - 7 hours
                1h