Re: [PATCH BlueZ] Fix incorrect use of atoi in maemo6
From: Anderson Lizardo <hidden> Date: 2011-10-27 13:22:45
Hi Dmitriy,
On Thu, Oct 27, 2011 at 6:42 AM, Dmitriy Paliy [off-list ref] wrote:
Use of atoi is incorrect and unsafe in maemo6 telephony and replaced
by g_ascii_digit_value.
There are lots of atoi() calls in other parts of BlueZ. Are they safe?
What is exactly unsafe in using atoi()?
Regards,
--
Anderson Lizardo
Instituto Nokia de Tecnologia - INdT
Manaus - Brazil