[fossology/fossology] 4a2829: fix(testing/db/c): Prevent buffer overflows


Gaurav Mishra <noreply@...>
 

Branch: refs/heads/master
Home: https://github.com/fossology/fossology
Commit: 4a2829ef27ed7b88d69a241b5e58d98e7ecd50e1
https://github.com/fossology/fossology/commit/4a2829ef27ed7b88d69a241b5e58d98e7ecd50e1
Author: Andreas J. Reichel <andreas.reichel@...>
Date: 2019-08-13 (Tue, 13 Aug 2019)

Changed paths:
M src/testing/db/c/libfodbreposysconf.c

Log Message:
-----------
fix(testing/db/c): Prevent buffer overflows

Use a dynamic approach for string concatenation.

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


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

Changed paths:
M src/testing/db/c/libfodbreposysconf.c

Log Message:
-----------
Merge pull request #1433 from andi8086/andreas/gcc8-testingdbc

fix(testing/db/c): Prevent buffer overflows

Reviewed-by: @gmishx
Tested-by: Travis-CI


Compare: https://github.com/fossology/fossology/compare/abafc8f6052a...41f5667da672

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