cn-uofbasel / ccn-lite

CCN-lite, a lightweight implementation of the CCNx protocol and its variations
ISC License
74 stars 63 forks source link

adds parameter check for ccnl_cmp2int #310

Closed mfrey closed 5 years ago

mfrey commented 5 years ago

Contribution description

The function adds a NULL check for the first parameter of the function and also makes the second parameter of type size_t.

Issues/PRs references

Fixes #309