Summary: | [glsl] SIGSEGV glcpp/glcpp-parse.y:833 | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | glsl-compiler | Assignee: | Ian Romanick <idr> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | critical | ||
Priority: | medium | CC: | chadversary, idr, kenneth |
Version: | 7.10 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2010-12-27 23:33:12 UTC
I just pushed the fix for this. commit 4fff52f1c973f2f284c142fbb31536a9656767c9 Author: Chad Versace <chad.versace@intel.com> Date: Mon Jan 10 16:55:17 2011 -0800 glcpp: Fix segfault when validating macro redefinitions In _token_list_equal_ignoring_space(token_list_t*, token_list_t*), add a guard that prevents dereferncing a null token list. This fixes test src/glsl/glcpp/tests/092-redefine-macro-error-2.c and Bugzilla #32695. Leave open until the fix is cherry picked back to the stable branch(es). (In reply to comment #2) > Leave open until the fix is cherry picked back to the stable branch(es). Apologies, I am still learning proper Bugzilla protocol. Since I have already pushed a fix for this patch [and I don't think it's a candidate for reversion ;-) ], should I assign the bug to myself? Fixed by 8d1e0de5f7344e7ab86fa34540e4b52f039fe1de (7.9.1) and c2b721bc0e83bc6c43fd9a2f52185b7772346975 (7.10). mesa: 56ef62d9885f805bbfb2243dc860ff425d5b4d3b (master) Verified fixed. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.