[Mesa-dev] [Bug 110901] mesa-19.1.0/src/util/futex.h:82: use of out of scope variable ?
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jun 12 08:50:43 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=110901
Bug ID: 110901
Summary: mesa-19.1.0/src/util/futex.h:82: use of out of scope
variable ?
Product: Mesa
Version: 19.1
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Mesa core
Assignee: mesa-dev at lists.freedesktop.org
Reporter: dcb314 at hotmail.com
QA Contact: mesa-dev at lists.freedesktop.org
mesa-19.1.0/src/util/futex.h:82] -> [mesa-19.1.0/src/util/futex.h:76] ->
[mesa-19.1.0/src/util/futex.h:85]: (error) Using pointer to local variable
'tmo' that is out of scope.
Source code is
if (timeout != NULL) {
const struct _umtx_time tmo = {
._timeout = *timeout,
._flags = UMTX_ABSTIME,
._clockid = CLOCK_MONOTONIC
};
uaddr = (void *)(uintptr_t)sizeof(tmo);
uaddr2 = (void *)&tmo;
}
return _umtx_op(addr, UMTX_OP_WAIT_UINT, (uint32_t)value, uaddr, uaddr2) ==
-1 ? errno : 0;
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190612/74f5dfe3/attachment.html>
More information about the mesa-dev
mailing list