[PATCH libXfont] Fix buffer read overrun

Keith Packard keithp at keithp.com
Fri Apr 18 13:39:17 PDT 2014

Alan Coopersmith <alan.coopersmith at oracle.com> writes:

> They work, as long as you only ever pass a literal string to them, not a
> pointer.

Right, but there's no type safety in that.

> Seems like a reasonable simplification in the server - hard to use from other
> modules (libXfont, drivers, etc.) until you're sure you'll only ever be used
> with a server recognizing that.

So, presumably a macro in some convenient header file would still be
useful for external consumers.

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140418/3cfeac50/attachment.sig>

More information about the xorg-devel mailing list