We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
n = recvfrom(sockfd, recv_buffer, (sizeof recv_buffer) * sizeof recv_buffer[0], 0 /* flags */, (struct sockaddr *)&respaddr, &respaddrsize);
length of buffer is (sizeof recv_buffer) only with * sizeof recv_buffer[0] is passed length to large. https://github.com/Netnod/vadarklockan/blob/f47d1f486e7af8b018e89cb36589168910856f9e/examples/c/vak_client_single.c#L151C26-L151C26
(sizeof recv_buffer)
* sizeof recv_buffer[0]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
length of buffer is
(sizeof recv_buffer)
only with* sizeof recv_buffer[0]
is passed length to large.https://github.com/Netnod/vadarklockan/blob/f47d1f486e7af8b018e89cb36589168910856f9e/examples/c/vak_client_single.c#L151C26-L151C26
The text was updated successfully, but these errors were encountered: