Skip to content

Commit 83d4f04

Browse files
committed
Do not pass NULL for ptsin array in v_opnwk(), some drivers write to it
1 parent 022cd73 commit 83d4f04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

v_opnwk.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ void
123123
v_opnwk (short work_in[], short *handle, short work_out[])
124124
{
125125
short vdi_control[VDI_CNTRLMAX];
126+
short vdi_ptsin[8];
126127

127-
VDI_PARAMS(vdi_control, work_in, 0L, work_out, &work_out[45] );
128+
VDI_PARAMS(vdi_control, work_in, vdi_ptsin, work_out, &work_out[45]);
128129

129130
VDI_TRAP (vdi_params, *handle, 1, 0,11);
130131

131132
*handle = vdi_control[6];
132133
}
133-

0 commit comments

Comments
 (0)