DO REPEAT: Avoid relying on null terminators.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 24 Sep 2018 03:26:28 +0000 (20:26 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 24 Sep 2018 05:51:31 +0000 (22:51 -0700)
commit89198b80bfd7e3893ed7499ba25b9bf94faaffb9
treee03cae3a7f87cacb73461e3f85a3a4d7692c912b
parenta02c8c084678a90529038bea3ce4bd6ca3ce80fe
DO REPEAT: Avoid relying on null terminators.

find_dummy_var() currently relies on the string passed in to have a null
terminator (even though it accepts a length).  This is safe in the current
tree but an upcoming commit will not ensure that it is null-terminated, so
this commit removes the dependency.
src/language/control/repeat.c