From 2e3fcb5dd9359d6c2560d24dc4bf5023d54f0978 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Wed, 4 Jul 2007 15:27:32 +0000 Subject: [PATCH] Don't silently accept entrypoint="" svn path=/trunk/; revision=27388 --- reactos/tools/rbuild/module.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/reactos/tools/rbuild/module.cpp b/reactos/tools/rbuild/module.cpp index b0133507186..50266e40d91 100644 --- a/reactos/tools/rbuild/module.cpp +++ b/reactos/tools/rbuild/module.cpp @@ -339,6 +339,14 @@ Module::Module ( const Project& project, att = moduleNode.GetAttribute ( "entrypoint", false ); if ( att != NULL ) { + if ( att->value == "" ) + { + throw InvalidAttributeValueException ( + moduleNode.location, + "entrypoint", + att->value ); + } + entrypoint = att->value; isDefaultEntryPoint = false; }