gsm_subscriber_base: Take a ref on the subscriber to avoid use after free

On expired paging we might access a GSM Subscriber that has already
been deleted. To avoid this we will add a subscr_get/subscr_put for
the subscriber to the allocation and release path of the request.

Reported-by: Richard Zahoransky
1 file changed
tree: 128ec44eb0b65c3a504a97a67f373f7bf0f9232b
  1. hlrsync/
  2. linux-kernel/
  3. openbsc/
  4. wireshark/