Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Check to make sure extension name is provided
Kyle Hale [Thu, 5 Jul 2012 19:32:37 +0000 (14:32 -0500)]
Fixes a null pointer dereference that occurs if an extension is
provided without a name

palacios/src/palacios/vmm_config.c

index ea772ce..9125d2e 100644 (file)
@@ -607,6 +607,11 @@ static int setup_extensions(struct v3_vm_info * vm, v3_cfg_tree_t * cfg) {
     while (extension) {
        char * ext_name = v3_cfg_val(extension, "name");
 
+        if (!ext_name) {
+            PrintError("Extension has no name\n");
+            return -1;
+        }
+
        V3_Print("Configuring extension %s\n", ext_name);
 
        if (v3_add_extension(vm, ext_name, extension) == -1) {