Segmentation fault caused by malformed BGP packet