Page MenuHomePhabricator

connect.c: fix strict-overflow error
Closed, ResolvedPublic

Description

/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.4/src/connect.c:
In function 'ssh_select':
/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.4/src/connect.c:514:7:
error: assuming signed overflow does not occur when simplifying conditional to constant [-Werror=strict-overflow]

if(j != 0)

Fixes:

Patch

correct this issue

Event Timeline

ffontaine created this task.Dec 5 2018, 9:22 PM
ffontaine updated the task description. (Show Details)Dec 5 2018, 9:26 PM
ffontaine updated the task description. (Show Details)
ffontaine updated the task description. (Show Details)Dec 5 2018, 9:28 PM
asn closed this task as Resolved.Thu, Feb 7, 2:44 PM
asn claimed this task.
asn added a subscriber: asn.

This as been already addressed with 58113d489eecfeb266b82de7bb25d4a0526b9606