projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e5b6f3
)
Checking Info for any attributes would crash the game. Fixed by setting the
author
nveid
<nveid@comcast.net>
Thu, 26 Oct 2006 12:11:56 +0000
(12:11 +0000)
committer
Ari Johnson
<ari@nveid.com>
Tue, 12 Sep 2006 12:49:49 +0000
(12:49 +0000)
attribute poitner to NULL initially.
(cherry picked from commit
6b9d562dc7683bc801ef403d47cdea0f9203ff4f
)
game/txt/changes/0.72p2
patch
|
blob
|
history
src/atr_tab.c
patch
|
blob
|
history
diff --git
a/game/txt/changes/0.72p2
b/game/txt/changes/0.72p2
index 7f8294d58b6d39d1f0fb633283665d8752a6ac06..924f829ac05b3aeb1088b7dc879f4072b27fddc5 100644
(file)
--- a/
game/txt/changes/0.72p2
+++ b/
game/txt/changes/0.72p2
@@
-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]
diff --git
a/src/atr_tab.c
b/src/atr_tab.c
index d3316d315beabc389299773696837dab144d655b..c74dedc7f881a9f97dac29e22facc963e8853935 100644
(file)
--- a/
src/atr_tab.c
+++ b/
src/atr_tab.c
@@
-443,6
+443,9
@@
void
do_attribute_info(dbref player, char *name)
{
ATTR *ap;
+
+ ap = NULL;
+
if (!name || !*name) {
if(catchall)
ap = catchall;