do not cause NULL ptr deref. fixes https://github.com/gphoto/libgphoto2/issues/974
This commit is contained in:
@@ -8593,7 +8593,6 @@ _put_Sony_Movie(CONFIG_PUT_ARGS)
|
||||
else
|
||||
value.u16 = 1;
|
||||
C_PTP_REP (ptp_sony_setdevicecontrolvalueb (params, 0xD2C8, &value, PTP_DTC_UINT16 ));
|
||||
*alreadyset = 1;
|
||||
return GP_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user