Skip to content

Conversation

@rob05c
Copy link
Member

@rob05c rob05c commented Jan 3, 2022

Ports #7749 fix for core strategies to the parent_select plugin.

Fixes a crash when a strategy has a bad 'to' URL, which manifests as a
missing null pointer check.

Ports apache#7749 fix for core strategies to the parent_select plugin.

Fixes a crash when a strategy has a bad 'to' URL, which manifests as a
missing null pointer check.
@rob05c rob05c force-pushed the port-strategy-plugin-7749 branch from a84d23f to a2c9085 Compare January 3, 2022 23:47
@bryancall bryancall requested a review from ywkaras January 4, 2022 00:26
Copy link
Contributor

@traeak traeak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably should be using nullptr in compares (ie: (nullptr != pRec) instead of just (pRec)) but it is consistent with the rest of the code.

@traeak traeak merged commit 03267ba into apache:master Jan 5, 2022
@rob05c rob05c added this to the 9.2.0 milestone Feb 23, 2022
zwoop pushed a commit that referenced this pull request Mar 10, 2022
Ports #7749 fix for core strategies to the parent_select plugin.

Fixes a crash when a strategy has a bad 'to' URL, which manifests as a
missing null pointer check.

(cherry picked from commit 03267ba)
@zwoop
Copy link
Contributor

zwoop commented Mar 10, 2022

Cherry-picked to v9.2.x

moonchen pushed a commit to moonchen/trafficserver that referenced this pull request May 26, 2022
Ports apache#7749 fix for core strategies to the parent_select plugin.

Fixes a crash when a strategy has a bad 'to' URL, which manifests as a
missing null pointer check.

(cherry picked from commit 03267ba)
moonchen pushed a commit to moonchen/trafficserver that referenced this pull request May 26, 2022
* asf/9.2.x:
  Updated ChangeLog
  Fixes build when hwloc is not installed (apache#8715)
  update FREELIST macros for AArch64 (apache#8688)
  Move hwloc-based functions into it's own header/compilation unit (apache#8711)
  Include CPPFLAGS when building CompileParseRules (apache#8445)
  Port apache#7837 from core strategy to plugin (apache#8573)
  Port apache#7749 from core strategy to plugin (apache#8571)
  Port apache#6816 from core strategy to plugin (apache#8570)
  Add back "DNS: Fix lack of nameserver failover in low use circumstances." (apache#8705)
  Update iocore/cache/test to fix the build (apache#8677)
  Provide libquic.a definition to VIO::VIO() (apache#8706)
  Add docs for parent.config defaults (apache#8692)
  cache-request-method autest: Extending IO delay (apache#8707)
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.

4 participants