1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

browse_fn: FIXME: If the remote machine returns non-ascii characters

in any of these fields, they can corrupt the output.  We
	   should remove them.
This commit is contained in:
Martin Pool 0001-01-01 00:00:00 +00:00
parent 02b18f2cca
commit 934aacdb39

View File

@ -1751,6 +1751,9 @@ static void browse_fn(const char *name, uint32 m,
case STYPE_IPC:
fstrcpy(typestr,"IPC"); break;
}
/* FIXME: If the remote machine returns non-ascii characters
in any of these fields, they can corrupt the output. We
should remove them. */
d_printf("\t%-15.15s%-10.10s%s\n",
name,typestr,comment);
}