[asterisk-bugs] [JIRA] (ASTERISK-30234) res_geolocation: ...may be used uninitialized error in geoloc_config.c
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Wed Sep 28 08:12:09 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-30234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Asterisk Team updated ASTERISK-30234:
-------------------------------------
Target Release Version/s: 18.15.0
> res_geolocation: ...may be used uninitialized error in geoloc_config.c
> ----------------------------------------------------------------------
>
> Key: ASTERISK-30234
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-30234
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_geolocation
> Affects Versions: 20.0.0, 19.7.0, 18.15.0, 16.29.0
> Reporter: George Joseph
> Assignee: George Joseph
> Severity: Major
> Target Release: 19.7.0, 18.15.0, 16.29.0
>
>
> When optimization is on....
> {code}
> res_geolocation/geoloc_config.c: In function 'geoloc_profile_apply_handler':
> res_geolocation/geoloc_config.c:229:26: error: 'format' may be used uninitialized [-Werror=maybe-uninitialized]
> 229 | result = validate_location_info(id, format, profile->location_refinement);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list