Leak in XKeysymToString

Po Lu luangruo at yahoo.com
Tue Aug 23 00:33:21 UTC 2022


Keith Packard <keithp at keithp.com> writes:

> How about something super simple -- just stick the string in the Xrm
> quark table and return that?
>
>         char s[10];
>         ...
>         return XrmQuarkToString(XrmStringToQuark(s))

That's not a bad idea, though it sounds like an abuse of quarks.


More information about the xorg-devel mailing list