Comment # 7
on bug 12119
from Diederik de Groot
Created attachment 14464 [details]
Attempt to introduce guard against tap out of bounds access
Not 100% sure if this is what you guys are looking for.
If necessary just provide an example based on one of the current message, like
for example handle_ButtonTemplateMessage.
Question1: Where should i add the "if (ptvcursor_tree(cursor) != NULL)" check ?
Question2: currently we are using:
ptvcursor_add_text_with_subtree(cursor, SUBTREE_UNDEFINED_LENGTH,....
Maybe we should change that to:
ptvcursor_add_text_with_subtree(cursor, (capCount *
capabilitiesStructSize),....
Would that help as well ?
You are receiving this mail because:
- You are watching all bug changes.