]> git.puffer.fish Git - mirror/frr.git/commit
Set from even if binfo->extra is NULL.
authorGreg Troxel <gdt@ir.bbn.com>
Fri, 17 Sep 2010 14:47:49 +0000 (10:47 -0400)
committerGreg Troxel <gdt@ir.bbn.com>
Fri, 17 Sep 2010 14:47:49 +0000 (10:47 -0400)
commitd3ddb22e902bc4dc175ed6974515f6e14d9be931
treee0f0fa91e7814c4814dbbd60352cc073496d71f7
parentcf8a831bcb53b60a7b5c4b26dda7646ebc7506d8
Set from even if binfo->extra is NULL.

bgpd/bgp_packet.c:bgp_update_packet(): When extracting the peer, don't
  fail to extract it because "binfo->extra" is NULL.  While one should
  certainly avoid dereferencing binfo->extra, that's not a good reason
  not to use binfo->peer.

Fixes https://bugzilla.quagga.net/show_bug.cgi?id=497.
Patch by Eric Sobocinksi.
bgpd/bgp_packet.c