Fixed coverity issue 1047567
This commit is contained in:
parent
a355093219
commit
a3c319c973
@ -137,7 +137,7 @@ static void parallel_process_irp_read(PARALLEL_DEVICE* parallel, IRP* irp)
|
|||||||
|
|
||||||
buffer = (BYTE*) malloc(Length);
|
buffer = (BYTE*) malloc(Length);
|
||||||
|
|
||||||
status = read(parallel->file, irp->output->pointer, Length);
|
status = read(parallel->file, buffer, Length);
|
||||||
|
|
||||||
if (status < 0)
|
if (status < 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user