Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CVE-2017-12469] util/ccnl-common.c: write in unallocated memory #135

Closed
blacksheeep opened this issue Aug 7, 2017 · 1 comment
Closed

Comments

@blacksheeep
Copy link
Contributor

util/ccnl-common.c:
if (key && keylen > 0) {
struct key_s *k = (struct key_s ) calloc(1, sizeof(struct
key_s
));

the calloc() only allocates the size for a pointer, not for the entire
struct, causing writes to unallocated memory

@blacksheeep blacksheeep added the bug label Aug 7, 2017
@blacksheeep
Copy link
Contributor Author

blacksheeep commented Aug 7, 2017

fixed in ccnlv2-master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant