Dear developers:
Our tool reports a NULL pointer dereference on this method freenect_select_subdevices where ctx may be NULL. It may a false positive, thank you for your confirmation.
FREENECTAPI void freenect_select_subdevices(freenect_context *ctx, freenect_device_flags subdevs)
{
ctx->enabled_subdevices = ...; // ctx may be null
}
Dear developers: Our tool reports a NULL pointer dereference on this method freenect_select_subdevices where
ctx
may be NULL. It may a false positive, thank you for your confirmation.The method is invoked here.
This method store NULL to
ctx
on here.