[PATCH 6/6] Convert some malloc + strncpy pairs into strndup calls

Matt Turner mattst88 at gmail.com
Fri Oct 28 18:13:52 PDT 2011


On Fri, Oct 28, 2011 at 8:34 PM, Alan Coopersmith
<alan.coopersmith at oracle.com> wrote:
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

I think these can be converted as well.

Xext/xselinux_ext.c:SELinuxCopyContext
dix/dixfonts.c:SetFontPathElements
hw/dmx/dmxinit.c:dmxSetDefaultFontPath
hw/dmx/dmxprop.c:dmxPropertyCheckOtherServers
hw/dmx/input/dmxarg.c:dmxArgParse
hw/xfree86/loader/loadmod.c:LoaderListDirs
hw/xwin/InitOutput.c:winFixupPaths
hw/xwin/winmultiwindowclass.c:winMultiWindowGetClassHint
hw/xwin/winwindowswm.c:ProcWindowsWMFrameSetTitle
os/client.c:DetermineClientCmd

If you want, fold these into your patch. Otherwise I can send a
follow-on patch to fix them up.

Thanks,
Matt


More information about the xorg-devel mailing list