ofono/drivers/atmodem
Jonas Bonn 1e176755af atmodem: enlarge command buffer
The ofono phone number max length is 80 so a buffer size of 64 is
obviously insufficient.  Expanding the buffer to 128 prevents a
potential failure and suppresses the folowing compiler warning:

../drivers/atmodem/sms.c: In function ‘at_csca_set’:
../drivers/atmodem/sms.c:108:40: warning: ‘%s’ directive output may be truncated writing up to 80 bytes into a region of size 55 [-Wformat-truncation=]
  snprintf(buf, sizeof(buf), "AT+CSCA=\"%s\",%d", sca->number, sca->type);
                                        ^~
../drivers/atmodem/sms.c:108:2: note: ‘snprintf’ output between 13 and 103 bytes into a destination of size 64
  snprintf(buf, sizeof(buf), "AT+CSCA=\"%s\",%d", sca->number, sca->type);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2018-10-29 13:33:56 -05:00
..
atmodem.c atmodem: removed simauth init 2017-11-09 11:20:39 -06:00
atmodem.h atmodem: Add lte atom driver 2017-09-05 10:44:22 -05:00
atutil.c atmodem: Add at_util_get_cgdcont_command 2018-10-22 15:05:38 -05:00
atutil.h atmodem: Add reference counting to cb_data 2018-10-25 10:55:09 -05:00
call-barring.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
call-forwarding.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
call-meter.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
call-settings.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
call-volume.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
cbs.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
devinfo.c drivers: constify vtables 2018-10-17 09:56:27 -05:00
gnss.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
gprs-context.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
gprs.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
lte.c atmodem: Make sure to use none_prefix 2018-10-25 13:51:57 -05:00
network-registration.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
phonebook.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
sim.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
sms.c atmodem: enlarge command buffer 2018-10-29 13:33:56 -05:00
stk.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
stk.h drivers: Update copyright information 2011-10-10 13:39:48 -07:00
ussd.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
vendor.h atmodem: added vendor Gemalto 2018-09-20 10:22:31 -05:00
voicecall.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00