Skip to content

Conversation

@ywkaras
Copy link
Contributor

@ywkaras ywkaras commented May 12, 2022

This was originally fixed in ATS 9.2.x with PR #8365 but #8365
was big and not backported to 9.1.x as it was a late PR and
zwoop did not want to bring it into 9.1.x at that time.

Anyway, this fixes the issue where the failure count on a parent
is not incremented properly.

@ywkaras ywkaras requested a review from bryancall as a code owner May 12, 2022 19:10
@ywkaras ywkaras marked this pull request as draft May 12, 2022 19:10
@bryancall bryancall added this to the 10.0.0 milestone May 12, 2022
@randall randall modified the milestones: 10.0.0, 9.1.3 May 12, 2022
@ywkaras ywkaras force-pushed the issue_8807_fix branch 3 times, most recently from 0e0bb74 to e28fbfa Compare May 12, 2022 21:37
@ywkaras
Copy link
Contributor Author

ywkaras commented May 12, 2022

Note that I did try to simply backport patch 8, but I got errors in "make check".

@ywkaras ywkaras added the 9.1.x label Jun 2, 2022
@ywkaras ywkaras force-pushed the issue_8807_fix branch 4 times, most recently from 2b6651d to a8b8540 Compare June 2, 2022 17:54
This was originally fixed in ATS 9.2.x with PR apache#8365 but apache#8365
was big and not backported to 9.1.x as it was a late PR and
zwoop did not want to bring it into 9.1.x at that time.

Anyway, this fixes the issue where the failure count on a parent
is not incremented properly.
ywkaras and others added 2 commits June 15, 2022 15:09
gcc-12 generated the following warning:

proxy/logging/LogFilter.h: In function 'void wipeField(char**, char*, const char*)':
proxy/logging/LogFilter.h:477:35: error: comparing the result of pointer addition '(new_param + 1)' and NULL [-Werror=address]
  477 |       if (new_param && (new_param + 1)) {
      |                        ~~~~~~~~~~~^~~~

That is indeed a bug. `new_param + 1` will always be non-NULL even if new_param
is NULL because 1 will be added to it. The intention was to check for the
string's null terminator at the offset, which is done via a dereference.
@ywkaras
Copy link
Contributor Author

ywkaras commented Jun 15, 2022

This fixes problems with #8812 .

@ywkaras
Copy link
Contributor Author

ywkaras commented Aug 4, 2022

[approve ci autest]

@bryancall bryancall modified the milestones: 9.1.3, 9.1.4 Aug 9, 2022
@github-actions
Copy link

github-actions bot commented Nov 8, 2022

This pull request has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.

@github-actions github-actions bot added the Stale label Nov 8, 2022
@ywkaras ywkaras closed this Nov 15, 2022
@ywkaras ywkaras reopened this Nov 15, 2022
@ywkaras
Copy link
Contributor Author

ywkaras commented Nov 15, 2022

[approve ci autest]

@github-actions github-actions bot removed the Stale label Nov 16, 2022
@bryancall bryancall modified the milestones: 9.1.4, 9.1.5 Dec 14, 2022
@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.

@github-actions github-actions bot added the Stale label Mar 15, 2023
@github-actions github-actions bot closed this Mar 23, 2023
@zwoop zwoop removed this from the 9.1.5 milestone May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants