[Spice-devel] kde/spice crashes when firefox is started

Christophe Fergeau cfergeau at redhat.com
Thu May 30 04:53:59 PDT 2013


On Thu, May 30, 2013 at 12:33:31PM +0200, Rob Verduijn wrote:
> Hello,
> 
> The 900 patch was to deal with an rpmlint error that prevented the obs
> from publishing the package.
> The rpmlint error was :
> [   32s] I: Statement might be overflowing a buffer in strncat. Common mistake:
> [   32s]    BAD: strncat(buffer,charptr,sizeof(buffer)) is wrong, it
> takes the left over size as 3rd argument
> [   32s]    GOOD: strncat(buffer,charptr,sizeof(buffer)-strlen(buffer)-1)
> [   32s] E: xf86-video-qxl bufferoverflowstrncat /usr/include/bits/string3.h:150

Ah actually rereading strncat man page a few more times, this seems right.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130530/a0498636/attachment.pgp>


More information about the Spice-devel mailing list