Update of /cvsroot/audacity/audacity-src/src/commands
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv12696/src/commands

Modified Files:
      Tag: AUDACITY_1_2
        CommandManager.cpp 
Log Message:
Backport NGS security fixes for UmixIt to AUDACITY_1_2, 
plus a fix to reduce flickering when importing multiple files.

Index: CommandManager.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/commands/CommandManager.cpp,v
retrieving revision 1.16.2.4
retrieving revision 1.16.2.5
diff -u -d -r1.16.2.4 -r1.16.2.5
--- CommandManager.cpp  27 Nov 2006 16:38:31 -0000      1.16.2.4
+++ CommandManager.cpp  12 Jan 2007 00:27:40 -0000      1.16.2.5
@@ -619,9 +619,9 @@
          if (!value)
             break;
          
-         if (!strcmp(attr, "name"))
+         if (!strcmp(attr, "name") && XMLValueChecker::IsGoodString(value))
             name = value;
-         if (!strcmp(attr, "key"))
+         if (!strcmp(attr, "key") && XMLValueChecker::IsGoodString(value))
             key = value;
       }
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to