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-12468] ccn-lite-ccnb2xml.c: Buffer Overflow #134

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

[CVE-2017-12468] ccn-lite-ccnb2xml.c: Buffer Overflow #134

blacksheeep opened this issue Aug 7, 2017 · 1 comment

Comments

@blacksheeep
Copy link
Contributor

oid
print_blob(unsigned char **buf, int *len, int typ, int num, int offset,
bool ignoreBlobTag)
{
int vallen;
unsigned char *valptr;

if (!ignoreBlobTag) print_tag(offset, typ, num, true, false);
ccnl_ccnb_consume(typ, num, buf, len, &valptr, &vallen);
if (vallen > *len) { return; }

vallen > *len is not checked

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

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