Checking Info for any attributes would crash the game. Fixed by setting the
authornveid <nveid@comcast.net>
Thu, 26 Oct 2006 12:11:56 +0000 (12:11 +0000)
committernveid <nveid@comcast.net>
Thu, 26 Oct 2006 12:11:56 +0000 (12:11 +0000)
attribute poitner to NULL initially.

game/txt/changes/0.72p2
src/atr_tab.c

index 7f8294d58b6d39d1f0fb633283665d8752a6ac06..924f829ac05b3aeb1088b7dc879f4072b27fddc5 100644 (file)
@@ -24,3 +24,4 @@ CobraMUSH Version 0.72p2
       Guest was destroyed even though it was connected. [RLB]
     * Certain command restrictions that were applied did not give
       appropriate command failure messages correctly. [RLB]
+    * Checking info for any attributes would crash the game. [RLB]
index d3316d315beabc389299773696837dab144d655b..c74dedc7f881a9f97dac29e22facc963e8853935 100644 (file)
@@ -443,6 +443,9 @@ void
 do_attribute_info(dbref player, char *name)
 {
   ATTR *ap;
+
+  ap = NULL;
+
   if (!name || !*name) {
     if(catchall)
       ap = catchall;