URL: https://github.com/SSSD/sssd/pull/732 Author: alexey-tikhonov Title: #732: Issue 3841 Action: opened
PR body: """ sss_client/common.c: fix Coverity issue
Usage of strncpy(nssaddr.sun_path, socket_name, sizeof(nssaddr.sun_path)) 1) confuses Coverity due to 3rd argument being equal to sizeof(1st) 2) again zeroes previously zeroed buffer So replaced with strcpy() This should be safe due to existing check of sizes.
Resolves: https://pagure.io/SSSD/sssd/issue/3841 """
To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/732/head:pr732 git checkout pr732
URL: https://github.com/SSSD/sssd/pull/732 Author: alexey-tikhonov Title: #732: sss_client/common.c: fix Coverity issue (issue 3841) Action: edited
Changed field: title Original value: """ Issue 3841 """
URL: https://github.com/SSSD/sssd/pull/732 Title: #732: sss_client/common.c: fix Coverity issue (issue 3841)
jhrozek commented: """ Coverity said 'BUFFER_SIZE_WARNING -1', so ACK """
See the full comment at https://github.com/SSSD/sssd/pull/732#issuecomment-455550095
URL: https://github.com/SSSD/sssd/pull/732 Title: #732: sss_client/common.c: fix Coverity issue (issue 3841)
Label: +Accepted
URL: https://github.com/SSSD/sssd/pull/732 Author: alexey-tikhonov Title: #732: sss_client/common.c: fix Coverity issue (issue 3841) Action: closed
To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/732/head:pr732 git checkout pr732
URL: https://github.com/SSSD/sssd/pull/732 Title: #732: sss_client/common.c: fix Coverity issue (issue 3841)
jhrozek commented: """ * master: * 9959fbe70f8314a2b5ecf52a2e92bcd6a38bfefe * 484b48ff40d638af042f3b4d4a00f87a8a58a76c """
See the full comment at https://github.com/SSSD/sssd/pull/732#issuecomment-458294996
URL: https://github.com/SSSD/sssd/pull/732 Title: #732: sss_client/common.c: fix Coverity issue (issue 3841)
Label: +Pushed
sssd-devel@lists.fedorahosted.org