Home
last modified time | relevance | path

Searched refs:bufbis (Results 1 – 2 of 2) sorted by relevance

/dports/security/shishi/shishi-1.0.2/extra/rsh-redone/
H A Drlogin.c285 char *bufbis; in writeenc() local
296 bufbis = malloc (wlen + sizeof (int)); in writeenc()
297 memcpy (bufbis, (char *) &dlen, sizeof (int)); in writeenc()
298 memcpy (bufbis + sizeof (int), buf, wlen); in writeenc()
310 free (bufbis); in writeenc()
313 bufbis = malloc (outlen + sizeof (int)); in writeenc()
314 if (bufbis == NULL) in writeenc()
319 memcpy (bufbis, (char *) &dlen, sizeof (int)); in writeenc()
320 memcpy (bufbis + sizeof (int), out, outlen); in writeenc()
323 write (sock, bufbis, outlen + sizeof (int)); in writeenc()
[all …]
H A Drsh.c210 char *bufbis; in writeenc() local
221 bufbis = malloc (wlen + sizeof (int)); in writeenc()
222 memcpy (bufbis, (char *) &dlen, sizeof (int)); in writeenc()
223 memcpy (bufbis + sizeof (int), buf, wlen); in writeenc()
235 free (bufbis); in writeenc()
238 bufbis = malloc (outlen + sizeof (int)); in writeenc()
239 if (bufbis == NULL) in writeenc()
244 memcpy (bufbis, (char *) &dlen, sizeof (int)); in writeenc()
245 memcpy (bufbis + sizeof (int), out, outlen); in writeenc()
248 write (sock, bufbis, outlen + sizeof (int)); in writeenc()
[all …]