Fixed two issues found by clang, pointed out by Holger
diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp
index d4a6557..c4d27e8 100644
--- a/src/gprs_bssgp_pcu.cpp
+++ b/src/gprs_bssgp_pcu.cpp
@@ -235,6 +235,9 @@
 	uint8_t pdu_type = bgph->pdu_type;
 	unsigned rc = 0;
 
+	if (!bctx)
+		return -EINVAL;
+
 	/* If traffic is received on a BVC that is marked as blocked, the
 	* received PDU shall not be accepted and a STATUS PDU (Cause value:
 	* BVC Blocked) shall be sent to the peer entity on the signalling BVC */