You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assigning content and content length pointer values from pkt to external pointers and then freeing the pkt itself also removes the pointers pointing to the memory location and causes memory corruption and garbage output from any write operation:
freeing a pointer causes memory corruption in
ccn-lite-fetch
here in code:
ccn-lite/src/ccnl-utils/src/ccn-lite-fetch.c
Lines 137 to 141 in da0d9de
assigning content and content length pointer values from pkt to external pointers and then freeing the pkt itself also removes the pointers pointing to the memory location and causes memory corruption and garbage output from any
write
operation:ccn-lite/src/ccnl-utils/src/ccn-lite-fetch.c
Line 360 in da0d9de
possible solution would be passing the pkt itself out of function and free it after
write
functionThe text was updated successfully, but these errors were encountered: