sgsn: Fix lengths of MS Network Capability and MS Radio Access Capability elements.

Original code was inconsistent about lengths and could lead to out
of bounds write. Lengths were also inconsistent with the TS 24.008.

Fixes: Coverity CID 1040714.
2 files changed
tree: a4e39635584e40f3797c5b67bf3d038a7ff328bd
  1. debian/
  2. hlrsync/
  3. linux-kernel/
  4. openbsc/
  5. wireshark/
  6. README