fix #H7352 - panic when floodfilling large areas

Special levels with FLAGS:inaccessibles could trigger a panic if
a large enough area was subjected to floodfill handling.  The buffer
intended to be enough to hold an entire level wasn't big enough when
individual coordinates were being added multiple times.  I don't
really understand what this code is doing but the recommended fix
does work to prevent the panic.

None of the levels included with 3.6.x were affected.
This commit is contained in:
PatR
2018-08-13 18:33:15 -07:00
parent 3774cb29f3
commit 34c1d30370
2 changed files with 31 additions and 7 deletions
+2
View File
@@ -81,6 +81,8 @@ succubus/incubus seduction might result in loss of levitation which in turn
seduction was proceeding as if nothing unusual had happened
#turn command which aggravated monsters did so without using a turn (not a pun)
fix hole/trapdoor passage inconsistency when polymorphed into a giant
making a wide-open special level with FLAGS:inaccessibles could trigger a
"floodfill stack overrun" panic (no 3.6.x levels were affected)
Fixes to Post-3.6.1 Problems that Were Exposed Via git Repository