Hi everyone,

I use 1.1.1 notls,

in my testing environment I came across some strange errors when using a
home made script in combination with the openserunix util.

First of all there were thousands of files like"/tmp/OpenSER.XXXXXX"
but looking around with google I found a patch for that:

https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1708301&group_id=139143

Then with the home made script I was still getting lots of socket
errors in syslog, a colleague of mine fixed the openserunix.c

############################################################
--- openserunix.c.ori   2007-09-13 19:54:00.406861237 +0200
+++ openserunix.c       2007-09-13 19:54:07.407260167 +0200
@@ -97,6 +97,7 @@
                        goto err;
                }
 
+               from_len = sizeof(from);
                len = recvfrom(sock, buffer, BUF_SIZE, 0, (struct 
sockaddr*)&from, &from_len);
                if (len == -1) {
                        fprintf(stderr, "Error in recvfrom: %s\n", 
strerror(errno));
############################################################


maybe this is useful for someone since even the newest OpenSER version hast the 
"buggy" openserunix util :-)


cheers,

Patrick.

_______________________________________________
Users mailing list
Users@openser.org
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to