You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
294 B

--- a/usr/iscsi/target.c
+++ b/usr/iscsi/target.c
@@ -224,7 +224,7 @@ get_redirect_address(char *callback, char *buffer, int buflen,
{
char *p, *addr, *port;
- bzero(buffer, buflen);
+ memset(buffer, 0, buflen);
if (call_program(callback, NULL, NULL, buffer, buflen, 0))
return -1;