|
From: | Paul Eggert |
Subject: | bug#18580: [PATCH] dfa: check end of an input buffer after a transition in non-UTF8 multibyte locales |
Date: | Sat, 04 Oct 2014 22:54:04 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 |
That is, the two-byte trailing sentinel seems to be related to the problem that the code that calls transit_state_singlebyte can jump over two bytes when it should jump past just one. The whole area is a bit of a mess. (For example, transit_state_singlebyte always returns the same value -- what's up with that!?)
[Prev in Thread] | Current Thread | [Next in Thread] |