Changeset 26 for trunk/samba/source/smbd/ipc.c
- Timestamp:
- Apr 10, 2007, 7:27:38 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/samba/source/smbd/ipc.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/samba/source/smbd/ipc.c
r1 r26 479 479 if (state->total_data) { 480 480 /* Can't use talloc here, the core routines do realloc on the 481 * params and data. */482 state->data = (char *)SMB_MALLOC(state->total_data );481 * params and data. */ 482 state->data = (char *)SMB_MALLOC(state->total_data); 483 483 if (state->data == NULL) { 484 484 DEBUG(0,("reply_trans: data malloc fail for %u " … … 488 488 return(ERROR_DOS(ERRDOS,ERRnomem)); 489 489 } 490 491 490 492 if ((dsoff+dscnt < dsoff) || (dsoff+dscnt < dscnt)) 491 493 goto bad_param; … … 499 501 if (state->total_param) { 500 502 /* Can't use talloc here, the core routines do realloc on the 501 * params and data. */502 state->param = (char *)SMB_MALLOC(state->total_param );503 * params and data. */ 504 state->param = (char *)SMB_MALLOC(state->total_param); 503 505 if (state->param == NULL) { 504 506 DEBUG(0,("reply_trans: param malloc fail for %u " … … 509 511 return(ERROR_DOS(ERRDOS,ERRnomem)); 510 512 } 513 514 511 515 if ((psoff+pscnt < psoff) || (psoff+pscnt < pscnt)) 512 516 goto bad_param;
Note:
See TracChangeset
for help on using the changeset viewer.
