nethack.rankin
e2175c2ce1
stale spellbook pointer
...
If you get interrupted while reading a spellbook and then
the book gets destroyed or you change levels, the object pointer
remembered for the book will be invalid and could accidentally
match one subsequently allocated to some other book. That would
result in "you continue your efforts to memorize the spell" when
starting to read that other book; it would also end up bypassing
the reading difficulty check and reuse the old book's delay counter.
I don't remember who reported this. It was quite some time
ago and I have an abandoned patch dated last March from when I
first started to fix it.
Files patched:
include/extern.h
src/save.c, shk.c, spell.c
2002-01-20 09:53:36 +00:00
..
2002-01-18 02:50:06 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-17 02:17:17 +00:00
2002-01-13 05:53:39 +00:00
2002-01-05 21:05:47 +00:00
2002-01-09 03:31:30 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-20 09:53:36 +00:00
2002-01-15 02:50:36 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-17 02:17:17 +00:00
2002-01-16 03:19:45 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-10 06:48:27 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-09 13:10:13 +00:00
2002-01-12 02:16:09 +00:00
2002-01-05 21:05:48 +00:00
2002-01-17 12:56:26 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-17 04:10:23 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-17 04:10:23 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-10 06:48:27 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00
2002-01-05 21:05:48 +00:00