From 8e867992cb632afcea6c07392af30e5d26f92368 Mon Sep 17 00:00:00 2001 From: Sonic Build Admin Date: Fri, 20 Jun 2025 07:34:08 +0000 Subject: [PATCH] [TACACS] Fix memory leak when authenticating using tacacs #### Why I did it A small memory leak was found when running TACACS ##### Work item tracking - Microsoft ADO **(number only)**: #### How I did it A patch was created for the libnss-tacplus repository that will fix the memory leak. #### How to verify it Configure TACACS Use the python script that reproduce the consumption and monitor its memory consumption. #### Which release branch to backport (provide reason below if selected) - [ ] 201811 - [ ] 201911 - [ ] 202006 - [ ] 202012 - [ ] 202106 - [ ] 202111 - [ ] 202205 - [ ] 202211 - [ ] 202305 #### Tested branch (Please provide the tested image version) - [ ] - [ ] #### Description for the changelog #### Link to config_db schema for YANG module changes #### A picture of a cute animal (not mandatory but encouraged) --- src/tacacs/nss/patch/series | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tacacs/nss/patch/series b/src/tacacs/nss/patch/series index 92da9dd9525..9540ccce483 100644 --- a/src/tacacs/nss/patch/series +++ b/src/tacacs/nss/patch/series @@ -10,3 +10,4 @@ 0010-Send-remote-address-in-TACACS-authorization-message.patch 0011-Replace-popen-shell-execution-with-safer-execle.patch 0012-fix-compile-error-conditionals.patch +0013-Partial-memleak-fix-due-to-unfreed-strdup.patch \ No newline at end of file