Permalink
Browse files

narcissus: fix security hole

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information...
1 parent 7e6cfed commit 3921ea72bc87fb073219137654b1bd47ede11555 @koenkooi koenkooi committed Nov 15, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 backend.php
View
10 backend.php
@@ -64,6 +64,16 @@
$sdkarch = "none";
}
+switch($release) {
+ case "stable":
+ case "v2012.05":
+ case "v2012.12":
+ case "core-eglibc":
+ break;
+ default:
+ $release = "v2012.05";
+}
+
switch($imagetype) {
case "tgz":
$imagesuffix = "tar.gz";

0 comments on commit 3921ea7

Please sign in to comment.