Bug #4793
closedvty command crashes osmo-ggsn
100%
Description
OsmoGGSN# show pdp-context ggsn ggsn0 imsi 262420000000222 x
where x is 0-15 will crash the ggsn with:
Program received signal SIGSEGV, Segmentation fault.
0x000055ef9095c89c in in46a_is_v4 (addr=0x7f7e3d46ea70) at ../lib/in46_addr.h:40
40 return addr->len == sizeof(struct in_addr);
Also Note:
OsmoGGSN# show pdp-context ggsn ggsn0 imsi 262420000000222
Logs a whole bunch of pdp.c:330 Begin pdp_tidget. Not found
and then displays:
% No such PDP context found
Yes, the IMSI has a pdp-context:
OsmoGGSN# show pdp-context ggsn ggsn0 ipv4 10.20.0.7
IMSI: 262420000000222, NSAPI: 5, MSISDN: (NONE)
Version: 1, Primary, Num Secondaries: 0
Control: 192.168.11.151:00000001 <-> 10.23.100.51:00000001
Data: 192.168.11.151:00000001 <-> 10.23.100.51:00000001
APN requested: internet
APN in use: internet
End-User Address (IPv4): 10.20.0.7
Transmit GTP Sequence Number for G-PDU: Yes