Murata RF modules are designed to simplify wireless development and certification by minimizing the amount of RF expertise you need to wirelessly enable a wide range of applications.
Diff: Indication/HTTPResponseIndication.cpp
- Revision:
- 9:0ce800923eda
- Parent:
- 2:f8e393a81c25
--- a/Indication/HTTPResponseIndication.cpp Mon Feb 15 15:17:50 2016 +0000 +++ b/Indication/HTTPResponseIndication.cpp Wed Mar 16 15:04:46 2016 +0000 @@ -5,6 +5,9 @@ HTTPResponseIndication::HTTPResponseIndication(Payload * payload) : Payload(payload) { + if (payload == NULL) + return; + contentLength = (GetData()[2] & 0x7F) << 8 | GetData()[3]; GetData()[PAYLOAD_OFFSET + contentLength] = 0x00; }