[cairo-bugs] [Bug 91321] New: Incorrect sizeof expression
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Jul 12 22:23:11 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=91321
Bug ID: 91321
Summary: Incorrect sizeof expression
Product: cairo
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: gl backend
Assignee: cairo-bugs at cairographics.org
Reporter: jain.arpit at samsung.com
QA Contact: cairo-bugs at cairographics.org
In src/cairo-gl-composite.c
At _cairo_gl_composite_flush function:
for (i = 0; i < ARRAY_LENGTH (&ctx->glyph_cache); i++)
_cairo_gl_glyph_cache_unlock (&ctx->glyph_cache[i]);
The sizeof operator was applied to an unintended variable.
It is applied to a pointer variable "ARRAY_LENGTH (&ctx->glyph_cache)" instead
of its target "ctx->glyph_cache".
--
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: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20150713/60b0960e/attachment.html>
More information about the cairo-bugs
mailing list