[cdesktopenv-devel] [PATCH] Don't use "%wc" in format strings

2012-08-08 Thread Douglas Mencken
"%wc" is Microsoft extension, not supported in every Std C Library. So if we don't want to print "%wc%wc%wc%wc%..." instead of real chars, we shall not use it. Before: %wc%wc%wc%wc%wc%wc%wc%wc%wc%wc%wc%wc%wc%wc%wcession[28326]: _Tt_s_session::s_init(): 1051 (TT_ERR_INTERNAL)! %wc%wc%wc%wc%wc%wc%w

[cdesktopenv-devel] [PATCH] Fix buffer overflow due to sizeof has been used in the place of strlen

2012-08-08 Thread Douglas Mencken
sizeof(char*) has been used in an attempt to get string's length. Program received signal SIGSEGV, Segmentation fault. 0x75912dfa in _IO_vfprintf_internal (s=0x7fffdf60, format=, ap=0x7fffe080) at vfprintf.c:1614 1614vfprintf.c: No such file or directory. in vfprint

Re: [cdesktopenv-devel] [PATCH] Fix buffer overflow due to sizeof has been used in the place of strlen

2012-08-08 Thread Douglas Mencken
And please, don't forget to mention mblamer from #cde as co-author. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers ca

[cdesktopenv-devel] [PATCH] some tweaks for configRun: add -h/--usage option, use portable print instead of echo \c, etc.

2012-08-12 Thread Douglas Mencken
http://ftp.osuosl.org/pub/manulix/CDE/cde-configRun_tweaks.patch cde-configRun_tweaks.patch Description: Binary data -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and t

[cdesktopenv-devel] Fwd: [PATCH] some tweaks for configRun: add -h/--usage option, use portable print instead of echo \c, etc.

2012-08-12 Thread Douglas Mencken
-- Forwarded message -- From: Douglas Mencken Date: Sun, Aug 12, 2012 at 11:18 AM Subject: Re: [cdesktopenv-devel] [PATCH] some tweaks for configRun: add -h/--usage option, use portable print instead of echo \c, etc. To: Marc Balmer > what is the gain of replacing echo w

Re: [cdesktopenv-devel] [PATCH] some tweaks for configRun: add -h/--usage option, use portable print instead of echo \c, etc.

2012-08-12 Thread Douglas Mencken
> I am pretty sure that 'echo -n' and 'echo -e' work everywhere. Why > not use those instead? printf is available everywhere; "echo -n" is an exotic, "echo -e" is much more exotic -- Live Security Virtual Conference Excl