The international community can help reinforce security in the Straits of Malacca by providing maritime surveillance aircraft.There are major differences between the Malaysian position and that taken by Indonesia as noted here. See also this and this:
Deputy Prime Minister Datuk Seri Najib Razak said the aircraft would be operated by security forces of the littoral States and the assistance would be regarded as "capacity-building".
However, if the international community was willing to assist, "it must not run counter to national sovereignty and territorial integrity of the littoral states".International law is more in favor of the pirates than of the adjacent governments which are worried over their territorial integrity. Using aircraft won't help much unless there is a real effort at cooperation at the boat on boat level. Otherwise, it's all hot air.
"The primary responsibility of the security and safety of the Straits of Malacca lies with the littoral states," he said.