]> git.ipfire.org Git - thirdparty/asterisk.git/commit
strings.c: Improve numeric detection in `ast_strings_match()`.
authorSean Bright <sean@seanbright.com>
Wed, 15 Jan 2025 16:42:29 +0000 (11:42 -0500)
committerSean Bright <sean@seanbright.com>
Thu, 16 Jan 2025 14:20:49 +0000 (14:20 +0000)
commit813b774cc1f917f0bf21b80269270e484018b0c0
treec17abdd9e2a3939cbeed3734fa55d16b5a95bf64
parent3e28ddce7825776ca5443d8aab632a182ea7346d
strings.c: Improve numeric detection in `ast_strings_match()`.

Essentially, we were treating 1234x1234 and 1234x5678 as 'equal'
because we were able to convert the prefix of each of these strings to
the same number.

Resolves: #1028
main/strings.c
tests/test_strings.c