mirror_corosync/exec
Jan Friesse 373ded0652 Don't access invalid mem in totemconfig interfaces
When ringnumber in config file was set to value bigger or equal to
INTERFACE_MAX, we are using this big value as index to totemconfig
interfaces array, resulting to access to invalid memory and segfault.

Instead of that, ringnumber is now checked and proper error message is
printed if value is too big.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2012-09-27 13:54:39 +02:00
..
.gitignore Add .gitignore files. 2010-10-21 07:43:46 -07:00
apidef.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
apidef.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
cfg.c build: bring SOLARIS up to the same standard as other OSes 2012-08-30 15:00:27 +02:00
cmap.c build: bring SOLARIS up to the same standard as other OSes 2012-08-30 15:00:27 +02:00
coroparse.c build: fix build on openindiana 151a 2012-08-28 15:14:49 +02:00
cpg.c Move some totem and cpg messages to trace level 2012-09-19 11:03:16 +02:00
cs_queue.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
fsm.h Make logging of WD and MON service correct 2012-08-16 14:45:15 +02:00
icmap.c icmap: fix mapping return codes 2012-09-12 08:18:50 +02:00
ipc_glue.c Use native IPC mechanism 2012-08-30 09:45:46 +02:00
logconfig.c Add support for debug level trace in config file 2012-09-19 11:03:10 +02:00
logconfig.h rename mainconfig to logconfig 2012-05-29 09:36:00 +02:00
logsys.c Add support for debug level trace in config file 2012-09-19 11:03:10 +02:00
main.c Move some totem and cpg messages to trace level 2012-09-19 11:03:16 +02:00
main.h ipcs: allow connections only after all services are ready 2012-04-16 13:39:03 +02:00
Makefile.am build: clean AM_CFLAGS and AM_CPPFLAGS usage around 2012-09-07 09:04:07 +02:00
mon.c build: bring SOLARIS up to the same standard as other OSes 2012-08-30 15:00:27 +02:00
pload.c build: bring SOLARIS up to the same standard as other OSes 2012-08-30 15:00:27 +02:00
quorum.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
quorum.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
schedwrk.c Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
schedwrk.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
service.c service: remove leftovers from mt corosync 2012-08-09 15:10:16 +02:00
service.h service: remove leftovers from mt corosync 2012-08-09 15:10:16 +02:00
sync.c Handle sync and service unload correctly 2012-08-09 15:10:26 +02:00
sync.h sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
timer.c Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
timer.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
totemconfig.c Don't access invalid mem in totemconfig interfaces 2012-09-27 13:54:39 +02:00
totemconfig.h Tweak nodeid warning 2012-02-21 16:33:56 +01:00
totemcrypto.c crypto init: release *_slot resource after init 2012-04-20 10:57:16 +02:00
totemcrypto.h crypto: change network packets and add dynamic crypto header/data 2012-03-14 15:57:01 +01:00
totemiba.c Update crypto_set API 2012-03-15 17:33:53 +01:00
totemiba.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totemip.c OpenBSD getifaddrs returns netmask without sa_family 2012-09-03 09:34:33 +02:00
totemmrp.c Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemmrp.h Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemnet.c Update crypto_set API 2012-03-15 17:33:53 +01:00
totemnet.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totempg.c Add header files when needed 2012-09-03 09:34:31 +02:00
totemrrp.c Always allocate totemrrp stats array 2012-04-10 09:08:42 +02:00
totemrrp.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totemsrp.c Move some totem and cpg messages to trace level 2012-09-19 11:03:16 +02:00
totemsrp.h Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemudp.c Ensure no garbage left in msghdr for sendmsg call 2012-09-03 09:34:37 +02:00
totemudp.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totemudpu.c Ensure no garbage left in msghdr for sendmsg call 2012-09-03 09:34:37 +02:00
totemudpu.h Update crypto_set API 2012-03-15 17:33:53 +01:00
util.c drop evs service 2012-03-12 15:51:50 +01:00
util.h rename mainconfig to logconfig 2012-05-29 09:36:00 +02:00
votequorum.c build: bring SOLARIS up to the same standard as other OSes 2012-08-30 15:00:27 +02:00
votequorum.h Remove include/engine/quorum and integrate it into exec/engine.h 2012-02-08 08:31:10 -07:00
vsf_quorum.c build: bring SOLARIS up to the same standard as other OSes 2012-08-30 15:00:27 +02:00
vsf_ykd.c Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
vsf_ykd.h Remove include/engine/quorum and integrate it into exec/engine.h 2012-02-08 08:31:10 -07:00
vsf.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
wd.c build: bring SOLARIS up to the same standard as other OSes 2012-08-30 15:00:27 +02:00