weewonder / garglk

Automatically exported from code.google.com/p/garglk
Other
0 stars 0 forks source link

Substring out of range in Geas (patch included) #178

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The game file parse code of Geas can potentially read indices beyond the end of 
the line. The attached patch avoids doing so by starting the read at the token 
end index instead of one position after that. This means we often copy an 
unnecessary space character, but that is harmless.

Original issue reported on code.google.com by mthuu...@gmail.com on 27 Jan 2012 at 4:06

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the patch!

Original comment by bcressey@gmail.com on 7 Feb 2012 at 7:47

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r590.

Original comment by bcressey@gmail.com on 7 Feb 2012 at 7:49