ofono/src
Denis Kenzior 4a93c329b9 log: Fix potential buffer overflow
We pass in the maximum size of the buffer to the read system call.  On
the astronomically unlikely chance that we indeed read the full buffer
full of data, the subsequent assignment will overflow it.  Fix this by
passing sizeof(buf) - 1 to the read system call instead.
2019-04-29 14:16:17 -05:00
..
audio-settings.c audio-settings: Fix unneeded async for GetProperties 2013-02-25 12:21:35 -06:00
bluetooth.h bluetooth: Add define for SCO voice settings 2013-08-19 12:14:39 -05:00
call-barring.c call-barring: SS query is made with given cls 2012-09-05 15:03:38 -05:00
call-forwarding.c call-forwarding: SS query is made with given cls 2012-09-05 15:00:14 -05:00
call-meter.c Do not set signature and reply in GDBus tables 2012-05-20 02:47:57 -07:00
call-settings.c call-settings: Improve error reporting 2012-08-22 18:18:05 -05:00
call-volume.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
cbs.c cbs: use g_slist_free_full 2016-04-22 15:27:28 -05:00
cdma-connman.c cdma-connman: Make static analysis tools happy 2015-07-28 10:18:26 -05:00
cdma-netreg.c cdma-netreg: Fix emission of PropertyChanged 2018-03-16 10:24:57 -05:00
cdma-provision.c cdma-provision: Add driver APIs implementation 2012-01-07 12:39:58 -06:00
cdma-sms.c cdma-sms: Update to the new API declaration 2012-06-16 09:50:05 -05:00
cdma-smsutil.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
cdma-smsutil.h core: Update copyright information 2011-10-10 13:39:42 -07:00
cdma-voicecall.c Do not set signature and reply in GDBus tables 2012-05-20 02:47:57 -07:00
common.c common: Add new NB-IoT technologies 2019-02-17 21:18:54 -06:00
common.h common: Add new NB-IoT technologies 2019-02-17 21:18:54 -06:00
ctm.c ctm: Remove shadowing reply variable 2012-07-15 20:29:29 -03:00
dbus.c dbus: Add D-Bus mapping for OFONO_ERROR_TYPE_ERRNO 2018-06-28 11:35:10 -05:00
emulator.c emulator: Handle OFONO_ERROR_TYPE_ERRNO in switch 2018-06-28 11:35:10 -05:00
genbuiltin Use script to generate list of builtin plugin symbols 2009-08-24 19:05:41 -07:00
gnss.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
gnssagent.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
gnssagent.h core: Update copyright information 2011-10-10 13:39:42 -07:00
gprs-provision.c gprs,gprs-provision: add SPN to provisioning API 2011-02-08 21:48:54 -06:00
gprs.c gprs: netreg_status_changed: output the status as human readable string 2019-04-28 10:13:51 -05:00
handsfree-audio.c handsfree-audio: Add Acquire implementation 2017-05-04 12:34:31 -05:00
handsfree.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
hfp.h hfp: Add enum for known HF Indicators 2014-10-20 13:40:27 -05:00
history.c core: Update copyright information 2011-10-10 13:39:42 -07:00
ims.c ims: Rework initialization 2017-10-09 11:35:46 -05:00
location-reporting.c Do not set signature and reply in GDBus tables 2012-05-20 02:47:57 -07:00
log.c log: Fix potential buffer overflow 2019-04-29 14:16:17 -05:00
lte.c lte: Add additional sanity checks for username/password 2018-10-22 11:46:08 -05:00
main.c main: Remove leftover HAVE_ELL conditions 2018-11-01 20:54:37 +01:00
manager.c manager: Fix up introspection data 2012-07-04 08:14:38 -05:00
message-waiting.c message-waiting: Fix reading EF_MWIS records 2015-07-16 20:22:38 -05:00
message.c Do not set signature and reply in GDBus tables 2012-05-20 02:47:57 -07:00
message.h message: add cancelled state 2011-03-18 18:31:14 -05:00
modem.c modem: add support to clear cached pins. 2019-01-23 17:49:53 -06:00
netmon.c dbus: Use dbus_validate_path 2018-01-18 10:53:28 -06:00
netmonagent.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
netmonagent.h netmonagent: fix unnecessary function declaration 2017-09-12 12:29:24 -05:00
nettime.c core: explicitly compare pointers to NULL 2010-11-29 13:27:15 -06:00
network.c network: debug log the network time on update 2019-04-28 10:13:07 -05:00
ofono.conf xmm7modem: modified ofono.conf for coex agent 2018-12-13 10:11:23 -06:00
ofono.h sim: Sim PIN1 cache upon modem reset/crash 2019-01-23 17:44:31 -06:00
ofono.service.in systemd: prevent duplicate logging messages in journal 2012-10-25 16:28:38 -07:00
ofono.ver Simplify linker script 2010-09-21 23:25:50 +09:00
phonebook.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
plugin.c plugin: Don't unload external plugins too early 2018-07-23 19:57:56 -05:00
private-network.c private-network: add initial implementation 2011-05-24 12:11:01 -05:00
radio-settings.c radio-settings: Fix typo in radio_band_umts_from_string 2017-06-29 09:11:11 -05:00
sim-auth.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
sim.c sim: added error handling in set slot callback 2019-04-02 10:27:07 -05:00
simfs.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
simfs.h simfs: read files from specific AID's 2017-11-06 16:12:19 -06:00
simutil.c util: Switch character conversions to ell 2018-12-27 18:18:51 -06:00
simutil.h simutil: Add sim_app_record free 2018-02-28 11:08:16 -06:00
siri.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
sms.c sms: support 8 national lang in Alphabet property 2018-10-15 14:09:07 -05:00
smsagent.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
smsagent.h core: Update copyright information 2011-10-10 13:39:42 -07:00
smsutil.c util: Switch character conversions to ell 2018-12-27 18:18:51 -06:00
smsutil.h util: adding 8 national sms alphabets 2018-10-15 14:07:27 -05:00
stk.c stkutil: Use standard types 2018-12-29 15:26:37 -06:00
stkagent.c stkagent: Use bool instead of gboolean / ofono_bool_t 2018-12-28 13:47:41 -06:00
stkagent.h stkagent: Use bool instead of gboolean / ofono_bool_t 2018-12-28 13:47:41 -06:00
stkutil.c stkutil: Fix ofono_bool_t usage 2019-01-18 08:55:52 -06:00
stkutil.h stkutil: Use standard types 2018-12-29 15:26:37 -06:00
storage.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
storage.h storage: Include sys/types.h for ssize_t 2013-01-16 13:14:30 -08:00
ussd.c util: Use bool instead of gboolean 2018-12-27 18:18:51 -06:00
util.c util: Remove last glib uses 2018-12-27 18:18:51 -06:00
util.h util: Remove encode_hex 2018-12-27 18:18:51 -06:00
voicecall.c voicecall: Implement ofono_voicecall_get_modem 2018-06-25 10:26:26 -05:00
watch.c core: Update copyright information 2011-10-10 13:39:42 -07:00