diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-17 14:29:35 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-17 14:29:35 +0200 |
commit | 0ea6e01c9b26f89d7f1ffecfd2ad2e9b30a0824d (patch) | |
tree | aa75ec2f8a9991604ab481a95158e4f436a8ebde /build-aux/mm-errors-template.c | |
parent | 5e629b8ea77d3af1aaedeaca7d1489cb68f6da27 (diff) |
libmm-glib,location-3gpp: fix string overflow
mm-location-3gpp.c: In function ‘mm_location_3gpp_get_mobile_country_code’:
mm-location-3gpp.c:139:12: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
139 | mcc[4] = '\0';
| ~~~~~~~^~~~~~
mm-location-3gpp.c:132:11: note: at offset 4 to object ‘mcc’ with size 4 declared here
132 | gchar mcc[4];
| ^~~
Diffstat (limited to 'build-aux/mm-errors-template.c')
0 files changed, 0 insertions, 0 deletions