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

data is a pointer to _dt but sizeof(_dt) is just 1 #41

Closed
milabs opened this issue Jun 12, 2018 · 1 comment
Closed

data is a pointer to _dt but sizeof(_dt) is just 1 #41

milabs opened this issue Jun 12, 2018 · 1 comment

Comments

@milabs
Copy link

milabs commented Jun 12, 2018

data = skb_header_pointer(socket_buffer, ip_header->ihl*4 + sizeof(struct icmphdr), sizeof(_dt), &_dt);

use _dt[sizeof(TOKEN)] while declaring

@f0rb1dd3n
Copy link
Owner

fixed at:

char _dt[tsize+24];

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

No branches or pull requests

2 participants