Bugs item #3117649, was opened at 2010-11-24 16:48
Message generated for change (Tracker Item Submitted) made by sisseren
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=611248&aid=3117649&group_id=95403

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: vde_switch
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Bas van Sisseren (sisseren)
Assigned to: Nobody/Anonymous (nobody)
Summary: 802.1q tagged vlan 4095 sometimes crashes vde-switch

Initial Comment:
Hello,

When the vde-switch receives a packet with 802.1q tagged vlan 4095 (yes, I
know, these packets shouldn't be on the network..), it looks up vlant[4095].
This sometimes triggers a segfault.

I would suggest you add a

  if (vlan >= NUMOFVLAN)
   return; /* discard unwanted packets */

between these lines

  vlan=((packet->data[0] << 8) + packet->data[1]) & 0xfff;

  if (! BA_CHECK(vlant[vlan].table,port))
    return; /*discard unwanted packets*/


Regards,

Bas van Sisseren


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=611248&aid=3117649&group_id=95403

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
vde-users mailing list
vde-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vde-users

Reply via email to