Package: psst / 1.0-9

Metadata

Package Version Patches format
psst 1.0-9 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Fix issue 17 reported with gcc 10.patch | (download)

src/logger.c | 6 3 + 3 - 0 !
src/logger.h | 2 2 + 0 - 0 !
src/psst.c | 7 2 + 5 - 0 !
3 files changed, 7 insertions(+), 8 deletions(-)

 [patch] fix issue#17 reported with gcc-10
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

few globals were redefined accidentally. cleaned them.

Signed-off-by: Noor Mubeen <noor.u.mubeen@intel.com>

0001 parse_config limit sscanf s size to avoid buffer ove.patch | (download)

src/parse_config.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] parse_config: limit sscanf %s size to avoid buffer overflow
 in buf
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Limit the sscanf %s scan size to 127 bytes (buf size - 1) to ensure
string and end of string marker '\0' can fit into the 128 byte buf
to avoid buffer overflow.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>