Skip to content

iOS keyboard character import infinite loop #27

@mathieugarcia

Description

@mathieugarcia

On iOS, while inputting text from the system keyboard, some characters will make nglString::Import run into an infinite loop, while converting characters (UTF8 I guess).

The bug can be triggered by following these steps:

  • Bring the iOS keyboard
  • Press the ".?123" button to bring special characters
  • Hold and press the "-" button
  • Select the second dash character

nglString::Import(int32&, const char*, int32, nglStringConv&) will loop forever in the do/while statement.
(to_read = 2, to_write = 2, rOffset = 0)

Tested on iPad - iOS 5.0 and 5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions