Package: das-watchdog / 0.9.0-3.2

Metadata

Package Version Patches format
das-watchdog 0.9.0-3.2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01 rc.patch | (download)

das_watchdog.rc | 10 9 + 1 - 0 !
1 file changed, 9 insertions(+), 1 deletion(-)

 populate init info
02 makefile.patch | (download)

Makefile | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 accept environemnt's compiler and linker flags.
03 hardening.patch | (download)

das_watchdog.c | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 fix build failure with -werror=format-security
0001 Fix memory overflow if the name of an environment is.patch | (download)

das_watchdog.c | 10 9 + 1 - 0 !
1 file changed, 9 insertions(+), 1 deletion(-)

 [patch] fix memory overflow if the name of an environment is larger
 than 500 characters. Bug found by Adam Sampson.


0001 Fixed memory leak in bd20bb02e75e2c0483832b52f257725.patch | (download)

das_watchdog.c | 13 6 + 7 - 0 !
1 file changed, 6 insertions(+), 7 deletions(-)

 [patch] fixed memory leak in bd20bb02e75e2c0483832b52f2577253febfb690


0001 Remove duplicate check for temp i 0.patch | (download)

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

 [patch 1/3] remove duplicate check for temp[i] == '\0'


0003 The result of fgetc is an int not a char.patch | (download)

das_watchdog.c | 11 6 + 5 - 0 !
1 file changed, 6 insertions(+), 5 deletions(-)

 [patch 3/3] the result of fgetc is an int, not a char

Without this change, get_pid_environ_val would go into an infinite loop
when asked to find a variable that doesn't exist on a platform where
char is unsigned (e.g. ARM): fgetc would return -1 (EOF), which would be
stored as 255 in temp[i], which then wouldn't be equal to -1 when
testing.

fix memory leak on realloc.patch | (download)

das_watchdog.c | 9 8 + 1 - 0 !
1 file changed, 8 insertions(+), 1 deletion(-)

 fix memory leak on realloc