Files
nethack/src
PatR 48e7643739 fix monstone() ... dealloc_obj() panic
Fuzzer feebdack.  When turning a monster into a statue, monstone()
builds a linked list of mon->minvent items to put into that statue.
It doesn't use obj_extract_self() to take them off again, leaving
obj->nobj non-Null.  Not noticed for the normal case where each item
gets linked into the container's contents, but triggers panic if an
item merges with something already put inside so gets removed.

Suddenly, the dungeon collapses.
dealloc_obj with nobj
[2] 0x01000c4193 panic + 995
[3] 0x0100155427 dealloc_obj + 71
[4] 0x010021d4de obfree + 686
[5] 0x01000f2f92 merged + 834
[6] 0x010015356e add_to_container + 126
[7] 0x01001628ac monstone + 636

I don't know why the petrified monster's mergeable inventory wasn't
already merged while in inventory.
2019-01-31 04:22:04 -08:00
..
2018-11-11 10:29:52 -05:00
2018-09-10 21:13:10 +03:00
2018-04-25 15:00:13 -04:00
2019-01-09 18:18:11 -08:00
2018-12-24 18:43:51 -08:00
2015-11-08 01:37:55 -08:00
2019-01-30 11:08:11 -05:00
2018-12-02 02:09:22 -08:00
2019-01-22 18:15:49 -08:00
2019-01-04 18:47:00 -08:00
2018-12-25 17:07:45 -08:00
2018-12-15 15:46:49 -08:00
2015-11-08 01:37:55 -08:00
2018-12-29 20:41:16 -08:00
2019-01-30 16:25:31 -08:00
2016-04-16 15:37:35 -07:00
2019-01-09 18:15:43 -08:00
2018-05-15 17:06:51 -07:00
2018-04-25 15:00:13 -04:00
2019-01-10 03:10:35 -08:00
2019-01-10 03:10:35 -08:00
2019-01-20 15:56:44 +02:00
2016-05-20 17:01:40 -07:00
2018-11-25 14:31:20 -08:00
2019-01-09 18:15:43 -08:00
2019-01-31 04:22:04 -08:00
2018-12-23 12:13:37 -08:00
2019-01-10 03:10:35 -08:00
2019-01-28 09:10:52 -08:00
2019-01-14 18:13:59 -08:00
2019-01-29 15:00:07 -08:00
2018-12-18 03:13:41 -08:00
2016-05-20 17:01:40 -07:00
2018-11-16 20:51:22 -05:00
2019-01-29 15:18:17 -08:00
2019-01-29 15:00:07 -08:00
2018-11-20 17:56:16 -08:00
2018-12-27 13:31:42 -08:00
2019-01-10 03:10:35 -08:00
2019-01-04 18:28:50 -08:00
2018-04-25 15:00:13 -04:00
2018-11-17 16:40:53 -08:00
2019-01-22 18:15:49 -08:00
2018-04-25 15:00:13 -04:00
2018-11-17 16:40:53 -08:00
2018-09-17 18:28:49 -07:00