Inform - Support - Patches

About Patches  


DM4 Errata  

Issue L61028

Parse buffer initialization
Submitted by: Neil Cerutti     Appeared in: Library 6/10 or before     Fixed in: Library 6/11

In are the lines

  parse->0 = 64;
  parse2->0 = 64;

That doesn't make sense. parse->0, in version5 and above, is to be filled in with the maximum number of words to parse, but parse only has room for 15.75 words (it should be 2*words + 2 bytes).

It's worth noting that Keyboard() overrides this with:

  a_table->0 = 15;  ! Allow to split input into this many words

so that it doesn't have any effect, even in AfterGameOver() which doesn't call read via Keyboard.


None submitted.

Last updated 17 April 2013. This site is no longer supported; information may be out of date.
Maintained as a historical archive by the Interactive Fiction Technology Foundation. Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
This page was originally managed by Roger Firth.