summaryrefslogtreecommitdiffstats
path: root/hicn-light
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2022-09-02 11:17:49 +0000
committerMauro Sardara <msardara@cisco.com>2022-09-02 11:17:59 +0000
commit00a6f92b97a0456259163ade2085defdebeb3f84 (patch)
tree677c65d106565703891b21b82a01f4fb69995bce /hicn-light
parent940228d74920fbfd6707e1324711164360cca52d (diff)
fix: correct bugs in interest processing pipeline
ResHHICN-748 Change-Id: I8e55932fda2c77891f7b2aaf7fa5d7087f1aa2bf Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'hicn-light')
-rw-r--r--hicn-light/src/hicn/core/forwarder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hicn-light/src/hicn/core/forwarder.c b/hicn-light/src/hicn/core/forwarder.c
index 4fe1b6c63..72bb22118 100644
--- a/hicn-light/src/hicn/core/forwarder.c
+++ b/hicn-light/src/hicn/core/forwarder.c
@@ -1053,7 +1053,7 @@ static ssize_t forwarder_process_interest(forwarder_t *forwarder,
assert(msgbuf_get_type(msgbuf) == HICN_PACKET_TYPE_INTEREST);
u32 n_suffixes = 0;
- interest_manifest_header_t *int_manifest_header;
+ interest_manifest_header_t *int_manifest_header = NULL;
size_t payload_size;
int ret = _forwarder_get_interest_manifest(msgbuf, &int_manifest_header,
&payload_size);