[Mesa-dev] [Bug 110901] mesa-19.1.0/src/util/futex.h:82: use of out of scope variable ?

2019-06-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110901 --- Comment #3 from dcb...@hotmail.com --- I found this by using a static analysis tool called cppcheck. I strongly recommend it for all C and C++ code. Not everything it mentions is worth fixing, but it does a deeper code analysis than almost

[Mesa-dev] [Bug 110901] mesa-19.1.0/src/util/futex.h:82: use of out of scope variable ?

2019-06-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110901 Eric Engestrom changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 110901] mesa-19.1.0/src/util/futex.h:82: use of out of scope variable ?

2019-06-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110901 --- Comment #1 from Eric Engestrom --- Indeed, that's a dangling pointer to data that should not exist anymore, good catch! I just posted an MR with a fix, can you compile-test it for me? I don't have a FreeBSD machine available.

[Mesa-dev] [Bug 110901] mesa-19.1.0/src/util/futex.h:82: use of out of scope variable ?

2019-06-12 Thread bugzilla-daemon
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