[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix a crash in stand-alone Info due to bad indexing of a string
From: |
Karl Berry |
Subject: |
Re: Fix a crash in stand-alone Info due to bad indexing of a string |
Date: |
Wed, 20 Mar 2013 23:28:08 GMT |
which caused us to write outside of a string's bounds when we up-case
or down-case a partial match found by index-search. The result was
that the following call to 'free' crashed.
Thanks for the report.
1) My first attempts did not reproduce it, though of course I don't
doubt there is a problem.
2) Your change has an undesirable side effect for me. For example:
info hello
i Exa
outputs
Found `EXAmples' in ...
instead of the present (and correct)
Found `examples' in ...
(Analogous thing happens with lowercase search strings and uppercase
index entries.)
3) It is bad style to do assignments in if conditions.
Will take a look when I can, probably you or Sergey will get there first ...
k
Re: Fix a crash in stand-alone Info due to bad indexing of a string, Sergey Poznyakoff, 2013/03/21