Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 917 by [email protected]: Issues in ibusbus.c
http://code.google.com/p/ibus/issues/detail?id=917

There are some typo issues in ibus_bus_current_input_context(). The fix is in
http://github.com/suzhe/ibus/tree/fix-ibus_bus_current_input_context

However, this fix doesn't fix all potential issues in ibusbus.c. In this
file, ibus_bus_call() method is used in many places to call a remote method
with string return value. The problem is the string values got by
ibus_message_get_args_valist() are actually pointers to the message buffer,
so ibus_bus_call() should duplicate them before deleting the message buffer,
otherwise accessing to those values after calling ibus_bus_call() may cause
problem.

--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

回复