CVS Update: lib (branch: trunk)
Alan Coopersmith
xorg-commit at cvs.freedesktop.org
Fri Mar 17 05:05:32 EET 2006
CVSROOT: /cvs/xorg
Module name: lib
Changes by: alanc at kemper.freedesktop.org 06/03/17 03:05:32
Log message:
2006-03-16 Alan Coopersmith <alan.coopersmith at sun.com>
* src/sm_manager.c:
* src/sm_client.c:
Specs say SmsInitialize & SmcOpenConnection return NULL terminated
strings in errorStringRet, but were just calling strncpy and not
making sure strings were NULL terminated if errorLength wasn't long
enough. (Noticed while evaluating Coverity ids 196 & 201.)
Modified files:
lib/SM/:
ChangeLog
lib/SM/src/:
sm_client.c sm_manager.c
Revision Changes Path
1.9 +9 -0 lib/SM/ChangeLog
http://cvs.freedesktop.org/xorg/lib/SM/ChangeLog
1.3 +27 -12 lib/SM/src/sm_client.c
http://cvs.freedesktop.org/xorg/lib/SM/src/sm_client.c
1.9 +13 -5 lib/SM/src/sm_manager.c
http://cvs.freedesktop.org/xorg/lib/SM/src/sm_manager.c
More information about the xorg-commit
mailing list