As I just added to a bug on Sourceforge, a change made in the not too distant past broke pass, exec and possibly other things.

In agent/mibgroup/util_funcs.c:~228, cachebytes needs to be ssize_t. Left as size_t breaks the if(cachebytes < 0) when the read() above it returns -1, and is a type-mismatch with read() return value on all platforms I've been able to find anyway.

As it is, the normal sleep() or usleep() waiting for data to read being skipped and spinning (quickly) to MAXREADCOUNT. As a result, users are experiencing missing data from "exec", and I've seen pass fail to actually get to the input from my scripts using "pass" on faster hosts under some load.

https://sourceforge.net/tracker/index.php? func=detail&aid=936483&group_id=12694&atid=112694

Please back out patch #860575 to fix this issue.
--
William A. Carrel
<[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to