2
0
Эх сурвалжийг харах

- fix fifo_cbp bug if null response file (coredump) (discovered by Raphael,
fixed by Bogdan)

Andrei Pelinescu-Onciul 22 жил өмнө
parent
commit
800f19735b
2 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 1 1
      NEWS
  2. 1 1
      modules/tm/uac_fifo.c

+ 1 - 1
NEWS

@@ -20,7 +20,7 @@ core:
        time before an ongoing connect will be aborted
    tcp_send_timeout= seconds
        time after a tcp connection will be closed if it is not available 
-       for writing in this interval (and ser wants to sen something on it)
+       for writing in this interval (and ser wants to send something on it)
    tcp_accept_aliases= yes|no
        if a message received over a tcp connection has "alias" in its via
        a new tcp alias port will be created for the connection the message

+ 1 - 1
modules/tm/uac_fifo.c

@@ -202,7 +202,7 @@ static inline int fifo_cbp(char** shm_file, char* response_file)
 		}
 		memcpy(*shm_file, response_file, fn_len);
 	} else {
-		shm_file = 0;
+		*shm_file = 0;
 	}
 	return 0;
 }