Author: tfaber
Date: Mon Aug 11 08:05:33 2014
New Revision: 63860
URL:
http://svn.reactos.org/svn/reactos?rev=63860&view=rev
Log:
[CABMAN]
- Don't crash when a directory is specified instead of a file list (i.e.
specified_files.root.normalized_name == NULL)
Modified:
trunk/reactos/tools/cdmake/dirhash.c
Modified: trunk/reactos/tools/cdmake/dirhash.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/cdmake/dirhash.c?rev…
==============================================================================
--- trunk/reactos/tools/cdmake/dirhash.c [iso-8859-1] (original)
+++ trunk/reactos/tools/cdmake/dirhash.c [iso-8859-1] Mon Aug 11 08:05:33 2014
@@ -210,7 +210,8 @@
free(tf->target_name);
free(tf);
}
- delete_entry_by_normname(dh, de->normalized_name);
+ if (de->normalized_name)
+ delete_entry_by_normname(dh, de->normalized_name);
free(de->normalized_name);
free(de->case_name);
}