Skip to content

Conversation

@jrushford
Copy link
Contributor

@jrushford jrushford commented May 21, 2020

This PR fixes all the remaining memory leaks detected in the next hop strategy unit-tests found by ASAN. An actual file descriptor leak was identified by the address sanitizer in NextHopStrategyFactory.cc when using opendir() to read a directory. The directory was not getting closed, this has been fixed This should close issue 6765.

This PR should be back ported to ATS 9.0.

found by ASAN. This should close issue 6765
@jrushford jrushford added Backport Marked for backport for an LTS patch release Bug ASan Address Sanitizer labels May 21, 2020
@jrushford jrushford added this to the 10.0.0 milestone May 21, 2020
@jrushford jrushford requested a review from bryancall May 21, 2020 17:09
@jrushford jrushford self-assigned this May 21, 2020
@bryancall bryancall merged commit 7003f36 into apache:master May 21, 2020
@zwoop zwoop modified the milestones: 10.0.0, 9.0.0 May 26, 2020
rob05c added a commit to rob05c/trafficserver that referenced this pull request Jan 3, 2022
Ports apache#6816 fix for core strategies to the parent_select plugin.

Fixes a bug with the YAML loading calling opendir but not closedir,
which leaked the file descriptor.
traeak pushed a commit that referenced this pull request Jan 5, 2022
Ports #6816 fix for core strategies to the parent_select plugin.

Fixes a bug with the YAML loading calling opendir but not closedir,
which leaked the file descriptor.
zwoop pushed a commit that referenced this pull request Mar 10, 2022
Ports #6816 fix for core strategies to the parent_select plugin.

Fixes a bug with the YAML loading calling opendir but not closedir,
which leaked the file descriptor.

(cherry picked from commit ca3654c)
moonchen pushed a commit to moonchen/trafficserver that referenced this pull request May 26, 2022
Ports apache#6816 fix for core strategies to the parent_select plugin.

Fixes a bug with the YAML loading calling opendir but not closedir,
which leaked the file descriptor.

(cherry picked from commit ca3654c)
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

Labels

ASan Address Sanitizer Backport Marked for backport for an LTS patch release Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants