[haiku-bugs] Re: [Haiku] #8502: BTextView sometimes refuses diacritics (says ":inline_only")

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Fri, 10 Apr 2015 15:32:33 -0000

#8502: BTextView sometimes refuses diacritics (says ":inline_only")
----------------------------------+------------------------------------
Reporter: ttcoder | Owner: axeld
Type: bug | Status: closed
Priority: normal | Milestone: R1
Component: Kits/Interface Kit | Version: R1/Development
Resolution: no change required | Keywords: :inline_only BTextView
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------------------+------------------------------------

Comment (by ttcoder):

For the record, looks like this was actually [http://cgit.haiku-
os.org/haiku/commit/?id=47b0d5f52a03b4d2602ab6bb72cb051428cf0d79 fixed] in
hrev49019, for which one can make a quite plausible scenario that fits the
observed behavior: one of the `delete[] string` prematurely frees the
character being typed after the dead key, which thus could randomly
(depending on heap layout) get clobbered by the string "be:inline_only" in
method _EnqueueInlineInputMethod().

Another one that was not detected by Coverity, but caught by the guarded
heap, go mmlr! 8-)

--
Ticket URL: <https://dev.haiku-os.org/ticket/8502#comment:8>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: