opentechinstitute / commotiond

The system management daemon for the Commotion Wireless Project.
https://commotionwireless.net
GNU Affero General Public License v3.0
26 stars 21 forks source link

return value of recv should be ssize_t #86

Closed dismantl closed 10 years ago

dismantl commented 10 years ago

reqlen should be ssize_t (signed), not size_t (unsigned). daemon.c:722 checks if reqlen < 0, which currently can never be true.

areynold commented 10 years ago

@dismantl says this was supposed to be against linux-fixes, not master.