Clean up string handling
authorSteven Luo <steven+maemo@steven676.net>
Fri, 11 Dec 2009 10:18:05 +0000 (02:18 -0800)
committerSteven Luo <steven+maemo@steven676.net>
Fri, 11 Dec 2009 10:18:05 +0000 (02:18 -0800)
commit4c3459d73a3e6a145230490af14dbba647fe4896
tree63aaa0f29846d00bfc7d787daee22f9c50c55c7e
parent42f0af690415fc59317203a187501c00c012c9d9
Clean up string handling

Revise the handling of strings in several places to be less confusing
and safer.  Fix at least two definite bugs in launcher.c concerning
integer overflows and realloc() possibly moving memory.

Also a few indentation changes.
dbus-server-bindings.c
launcher.c
main.c