Fixed coverity issue 1047567

This commit is contained in:
Armin Novak 2013-08-29 11:01:58 +02:00
parent a355093219
commit a3c319c973

View File

@ -137,7 +137,7 @@ static void parallel_process_irp_read(PARALLEL_DEVICE* parallel, IRP* irp)
buffer = (BYTE*) malloc(Length);
status = read(parallel->file, irp->output->pointer, Length);
status = read(parallel->file, buffer, Length);
if (status < 0)
{