Hi James,

On 06/17/2019 01:38 PM, James Prestwood wrote:
It looks like a previous line was copied and cd->username was re-terminated
instead of password. This also fixes a compiler error when using GCC 9:

In function ‘strncpy’,
     inlined from ‘isi_gprs_activate_primary’ at 
drivers/isimodem/gprs-context.c:546:3:
/usr/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ output 
may be truncated copying 53 bytes from a string of length 255 
[-Werror=stringop-truncation]
   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos 
(__dest));
       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---
  drivers/isimodem/gprs-context.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)


Applied, thanks.

Regards,
-Denis

_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to