Page MenuHomePhabricator

connect.c: fix strict-overflow error
Open, Needs TriagePublic

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.Wed, Dec 5, 9:22 PM
ffontaine updated the task description. (Show Details)Wed, Dec 5, 9:26 PM
ffontaine updated the task description. (Show Details)
ffontaine updated the task description. (Show Details)Wed, Dec 5, 9:28 PM