zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #21845
[Merge] lp:~paul-lucas/zorba/pjl-misc into lp:zorba
Paul J. Lucas has proposed merging lp:~paul-lucas/zorba/pjl-misc into lp:zorba.
Commit message:
Fixes stupid null-pointer dereference.
Requested reviews:
Paul J. Lucas (paul-lucas)
For more details, see:
https://code.launchpad.net/~paul-lucas/zorba/pjl-misc/+merge/163627
Fixes stupid null-pointer dereference.
--
https://code.launchpad.net/~paul-lucas/zorba/pjl-misc/+merge/163627
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'bin/zorbacmdproperties_base.h'
--- bin/zorbacmdproperties_base.h 2013-04-08 21:19:52 +0000
+++ bin/zorbacmdproperties_base.h 2013-05-14 01:58:27 +0000
@@ -289,7 +289,7 @@
int d = 2;
if(theFparm == false)
theAsFiles = false;
- if(!strncmp(*(argv+1), "-f", 2))
+ if(*(argv+1) && !strncmp(*(argv+1), "-f", 2))
{
theQBeforeF = true; // is it "-q -f <filename>" perhaps?
break; // stop functionality here
Follow ups