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

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to