[fossology/fossology] 7beb85: fix(pkgagent): Avoid possible buffer overrun with ...


Gaurav Mishra <noreply@...>
 

Branch: refs/heads/master
Home: https://github.com/fossology/fossology
Commit: 7beb859d15f94c8d04635d1b2c2b72d07eb7b4c9
https://github.com/fossology/fossology/commit/7beb859d15f94c8d04635d1b2c2b72d07eb7b4c9
Author: Andreas J. Reichel <andreas.reichel@...>
Date: 2019-08-14 (Wed, 14 Aug 2019)

Changed paths:
M src/pkgagent/agent/pkgagent.c

Log Message:
-----------
fix(pkgagent): Avoid possible buffer overrun with strncpy

Copy BUFFSIZE-1 and add a 0 termination to the end.

Signed-off-by: Andreas J. Reichel <andreas.reichel@...>


Commit: 91e04ad92a07ba15c7b359ad09146aac6708d649
https://github.com/fossology/fossology/commit/91e04ad92a07ba15c7b359ad09146aac6708d649
Author: Gaurav Mishra <@gmishx>
Date: 2019-09-19 (Thu, 19 Sep 2019)

Changed paths:
M src/pkgagent/agent/pkgagent.c

Log Message:
-----------
Merge pull request #1434 from andi8086/andreas/gcc8-pkgagent

fix(pkgagent): Avoid possible buffer overrun with strncpy

Reviewed-by: @gmishx
Tested-by: @gmishx


Compare: https://github.com/fossology/fossology/compare/41f5667da672...91e04ad92a07

Join fossology-commits@lists.fossology.org to automatically receive all group messages.