| Thanks for including my suggestions in p4! I found a small bug in the new antiloop code (module/owserver/src/c/owserver.c) please see the attached patch. Stefano |
diff --git a/module/owserver/src/c/owserver.c b/module/owserver/src/c/owserver.c
index 374f64a..0f08913 100644
--- a/module/owserver/src/c/owserver.c
+++ b/module/owserver/src/c/owserver.c
@@ -133,8 +133,7 @@ static void SetupAntiloop(int argc, char **argv)
data_struct.rand = random() ;
// command line arguments (don't clear out buffer)
- for ( argnum=0 ; argnum < argc ; ++argc ) ;
- {
+ for ( argnum=0 ; argnum < argc ; argnum++ ) {
int argsize = strlen( argv[argnum] ) ;
if ( argsize > left ) {
argsize = left ;
PS: in my opinion, instead of the MD5 hash of some process data, a UUID <http://en.wikipedia.org/wiki/Universally_unique_identifier> would be more appropriate for the antiloop feature. On 30 Apr 2014, at 02:35, Paul Alfille <[email protected]> wrote:
|
------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs
_______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
