Summary: | Corrupted data structure in uim-xim | ||
---|---|---|---|
Product: | UIM | Reporter: | Daniel Stone <daniel> |
Component: | bridge: XIM | Assignee: | uim-bugs |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | high | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
FreeDesktop Bugzilla Database Corruption Fix User
2005-07-01 21:37:41 UTC
> Actually I am not sure why ParseComposeStringFile creates a root node > to the structure at all, since parse_compose_line should take care of > creating it on demand. If I am correct about this then the following > patch should suffice. If I am mistaken about the usefullness of > creating the root node then the correct fix is rather to initialize the > three extra fields to sane values. Good catch! As you noted, the root node is created in parse_compose_line() with *top == NULL, so the initialization in XimIM::ParseComposeStringFile is redundant. Cheers, -- Etsushi kato ekato@ees.hokudai.ac.jp |
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.