This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster/cman/daemon cmanccs.c
- From: rmccabe at sourceware dot org
- To: cluster-cvs at sources dot redhat dot com
- Date: 24 Oct 2007 05:58:07 -0000
- Subject: cluster/cman/daemon cmanccs.c
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rmccabe@sourceware.org 2007-10-24 05:58:07
Modified files:
cman/daemon : cmanccs.c
Log message:
Commit msg with the last commit went missing..
- Fix unsafe string handling:
- replace memset(s,c,n);sprintf(s,...); with snprintf with proper error checking
- don't overflow the stack if the cluster name specified in the env var is too long
- don't overflow the stack if the local nodename from uname(2) is too long
- don't overflow the stack if the local nodename specified in the env var is too long
- Don't leak the ccs descriptor in get_ccs_join_info() on errors
- Fix a couple of small memory leaks in error paths
- Handle OOM conditions
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/cmanccs.c.diff?cvsroot=cluster&r1=1.35&r2=1.36