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

Fix calculation of cell size in get_tcp_element() #546

Conversation

ArnoStiefvater
Copy link
Member

No description provided.

jjnicola
jjnicola previously approved these changes Jul 10, 2020
nasl/nasl_packet_forgery.c Outdated Show resolved Hide resolved
Th_off is only one byte and should not be
converted with ntohl() which takes 4 bytes.
@ArnoStiefvater ArnoStiefvater force-pushed the get-tcp-element-wrong-cell-size branch from f99b9d7 to 3e1a3db Compare July 20, 2020 10:11
@ArnoStiefvater ArnoStiefvater requested a review from cfi-gb July 20, 2020 10:13
nasl/nasl_packet_forgery.c Show resolved Hide resolved
Data of size 0 was considered as error. Now it is
allowed.
@ArnoStiefvater ArnoStiefvater requested a review from cfi-gb July 20, 2020 13:25
@ArnoStiefvater ArnoStiefvater merged commit f540463 into greenbone:openvas-20.08 Jul 21, 2020
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

Successfully merging this pull request may close these issues.

3 participants