From: Andre Noll Date: Sat, 11 Jul 2009 19:01:27 +0000 (+0200) Subject: Fix com_init() in case arguments are given. X-Git-Tag: v0.3.5~26 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=133cbbe403c850da3efdaa6dcfc0cf55145d0aa2;hp=133cbbe403c850da3efdaa6dcfc0cf55145d0aa2 Fix com_init() in case arguments are given. As the ->name field of struct afs_table was only initialized in the afs process, com_init(), which gets forked from the server process, did not see the table names and would segfault due to a NULL pointer dereference if table names were given as arguments. Fix it by initializing the ->name fields in the definition of the afs_tables array. This bug was introduced in commit 53d503ce back in 2007... ---