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
asn1: Regenerate ASN.1 code using newer version of asn1c #7066
base: master
Are you sure you want to change the base?
Conversation
@simo5 could you please look at this when you have some time? I generated new code using current asn1c git master branch. |
sphinx will change defaults for HTML scheme, enforce existing behavior. Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
v0.9.29 (unreleased) has several improvements that we wanted to apply, mostly in memory management. Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Ok, I think I picked up all the changes now. Compilation is clean except this one:
this is coming from a removal of unreferenced
|
The goal of the Line 938 from int littleEndian = 1; /* Run-time detection */
int add;
/* ... */
if(*(char *)&littleEndian) {
pstart = (uint8_t *)&value + sizeof(value) - 1;
pend1 = (uint8_t *)&value;
add = -1;
} else { When initializing the loop, Line 976 from /* Copy the integer body */
for(bp = buf, pend1 += add; p != pend1; p += add)
*bp++ = *p; This compilation error seems to be caused by the fact the semantic analyzer still has a logical connection between pend1 = (uint8_t *)&value; For this reason, the analyzer probably considers that an increment of We can either decide to ignore this warning, or try to make it disappear by modifying the loop this way: for(bp = buf; p != (pend1 + add); p += add)
*bp++ = *p; |
Thank you, @jrisc. A bit of update: I ran OpenScanHub over the changes and now am working on the fixes, if any are needed. There are too many false-positives so far as the code is complex for covscan to process. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
No description provided.