852 static PyObject *
853 PyShmSemaphore_setval(
854 PyShmSemObj *self,
855 PyObject *args)
856 {
857 int value;
858 semctl_arg arg;
859
860 if (!PyArg_ParseTuple(args, "i", &value))
when PyArg_ParseTuple() succeeds
taking False path
861 return NULL;
862 refresh_semaphore_status(self);
when considering range: -0x80000000 <= value <= -1
taking False path
863 arg.val = value;
864 if (semctl(self->semid, 0, SETVAL, arg) == -1)
passing uninitialized data (arg) as argument 4 to function at src/extensions/shmmodule.c:864
found 1 similar trace(s) to this
865 return PyShm_Err();
866 Py_INCREF(Py_None);
867 return Py_None;
868 }