Files
nethack/doc
PatR 407a2e0ea8 fix issue #1436 - object_from_map() vs Hallu
Issue reported by janne-hmp:  examining an object on the map while
halluicinating might operate on an object whose name is Null since the
random object could be one that holds an extra description for item
shuffling at game start.  Attempting to format the object led to a
crash.

I wasn't able to reproduce the crash, possibly because MacOS produces
the string "(null)" for sprintf("%s",NULL) instead of dereferencing
the Null pointer.

Perhaps random object selection for display should reject the extra
description objects in some classes.  This susbstitutes a different
object if examining the map encounters one of those.

Fixes #1436
2025-08-10 12:45:29 -07:00
..
2024-12-25 20:23:00 -05:00
2025-01-31 21:48:15 -05:00
2025-04-29 11:05:03 -07:00
2024-12-31 06:52:27 -06:00
2024-12-26 17:34:18 -05:00
2022-01-29 22:57:22 -05:00
2022-01-29 22:57:22 -05:00
2022-01-29 22:57:22 -05:00
2025-05-25 15:03:13 -04:00
2025-05-25 15:03:13 -04:00
2025-05-25 15:47:05 -04:00
2025-04-13 17:32:14 +03:00
2024-12-26 17:34:18 -05:00
2018-11-11 10:29:52 -05:00
2024-12-24 13:41:17 -05:00
2024-12-31 17:15:11 -05:00
2024-12-26 17:34:18 -05:00
2024-02-28 20:15:56 -08:00
2025-01-04 23:38:34 -05:00