208
200
if (setuplength > (SIZE_MAX>>2)
210
202
(setup = FSmalloc((unsigned) setuplength))) == NULL) {
216
205
_FSRead(svr, (char *) auth_data, setuplength);
218
207
if (prefix.status != AuthSuccess) {
219
208
fprintf(stderr, "%s: connection to \"%s\" refused by server\r\n%s: ",
220
209
"FSlib", server, "FSlib");
227
213
_FSRead(svr, (char *) &conn, (long) SIZEOF(fsConnSetupAccept));
229
215
if ((vendor_string = (char *)
230
216
FSmalloc((unsigned) conn.vendor_len + 1)) == NULL) {
237
219
_FSReadPad(svr, (char *) vendor_string, conn.vendor_len);