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
Encountering 6 errors while attempting to compile.
til/dns.c:6528:17: error: array subscript -2 is below array bounds of 'unsigned char[1]' [-Werror=array-bounds] so->query->data[-2] = 0xff & (so->query->end >> 8);
util/dns.c:6529:17: error: array subscript -1 is below array bounds of 'unsigned char[1]' [-Werror=array-bounds] so->query->data[-1] = 0xff & (so->query->end >> 0); ~~~~~~~~~~~~~~~^~~~ util/dns.c:6531:9: error: array subscript -2 is below array bounds of 'unsigned char[1]' [-Werror=array-bounds] qsrc = &so->query->data[-2] + so->qout; ^~~~~~~~~~~~~~~~~~~~ util/dns.c:6557:10: error: array subscript -2 is below array bounds of 'unsigned char[1]' [-Werror=array-bounds] asrc = &so->answer->data[-2]; ^~~~~~~~~~~~~~~~~~~~~ util/dns.c:6568:18: error: array subscript -2 is below array bounds of 'unsigned char[1]' [-Werror=array-bounds] alen = ((0xff & so->answer->data[-2]) << 8) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ util/dns.c:6569:42: error: array subscript -1 is below array bounds of 'unsigned char[1]' [-Werror=array-bounds] | ((0xff & so->answer->data[-1]) << 0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Encountering 6 errors while attempting to compile.
til/dns.c:6528:17: error: array subscript -2 is below array bounds of 'unsigned char[1]' [-Werror=array-bounds]
so->query->data[-2] = 0xff & (so->query->end >> 8);
The text was updated successfully, but these errors were encountered: