We got a crash at the following lines of code in src/vnet/tcp/tcp_bt.c .
The code base is
vpp_1908 branch.

  354 /* Find original tx sample and cache flags in case the sample
  355  * is freed or the pool moves */
  356  bts = bt_lookup_seq (bt, start);
  357  bts_flags = bts->flags;

when bt_lookup_seq returns NULL bts=NULL and accessing bts->flags causes
the system to crash.
There should be a NULL condition checking statement before line 357.

I checked the master code base and even there the code still remains the
same.
  359  /* Find original tx sample and cache flags in case the sample
  360    * is freed or the pool moves */
  361     bts = bt_lookup_seq (bt, start);
  362     bts_flags = bts->flags;

Can there be a fix suggested for this bug ?

Regards
Magesh
Truminds software
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20529): https://lists.fd.io/g/vpp-dev/message/20529
Mute This Topic: https://lists.fd.io/mt/87236362/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to