Package: uftp / 4.9.9-1

Metadata

Package Version Patches format
uftp 4.9.9-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Initialize variable level.patch | (download)

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

 initialize variable level

uftp_common.c: In function 'multicast_join':
uftp_common.c:1636:17: warning: 'level' may be used uninitialized in this function [-Wmaybe-uninitialized]
             if (setsockopt(s, level, MCAST_JOIN_GROUP,
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     (char *)&greq, sizeof(greq)) == -1) {
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uftp_common.c: In function 'multicast_leave':
uftp_common.c:1700:21: warning: 'level' may be used uninitialized in this function [-Wmaybe-uninitialized]
                 if (setsockopt(s, level, MCAST_LEAVE_SOURCE_GROUP,
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         (char *)&gsreq, sizeof(gsreq)) == -1) {
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Handle very unlikely error condition in chdir.patch | (download)

client_init.c | 5 4 + 1 - 0 !
proxy_init.c | 5 4 + 1 - 0 !
2 files changed, 8 insertions(+), 2 deletions(-)

 handle very unlikely error condition in chdir()

proxy_init.c: In function 'daemonize':
proxy_init.c:209:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
         chdir("/");
         ^~~~~~~~~~

Remove extra newline.patch | (download)

client_config.c | 2 1 + 1 - 0 !
proxy_config.c | 2 1 + 1 - 0 !
server_config.c | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 remove extra newline

Quoting `man 3 perror`:
> First (if s is not NULL and *s is not a null byte ('\0')), the argument
> string s is printed, followed by a colon and a blank.  Then an error
> message corresponding to the current value of errno and a new-line.

Fix infinite rate.patch | (download)

server_init.c | 10 4 + 6 - 0 !
1 file changed, 4 insertions(+), 6 deletions(-)

 fix infinite rate

if TFMCC is used and rate is initialized with -1, packet_wait is
negative. When passed to usleep() this results in a large timeout.