I opened xenocara/lib/libX11/src/xlibi18n/lcPrTxt.c and strcpy operates on a buffer passed in through a pointer, so I don't think there's a way to calculate the buffer length. I'm not very good at C, so I don't know what to do here. Do I just leave strcpy in place or does the calling code need to be reworked. -- Google doesn't need to know every time I fart.
- strlcpy & pointers Maria Morisot
- Re: strlcpy & pointers Stuart Henderson

