]> git.ipfire.org Git - thirdparty/asterisk.git/commit
stasis_recording: Perform a complete match on requested filename.
authorSean Bright <sean.bright@gmail.com>
Thu, 10 Mar 2022 17:07:40 +0000 (12:07 -0500)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 23 Mar 2022 20:08:16 +0000 (15:08 -0500)
commitb6ae8ab49385d1c18d563dd67d6d4beadef2264f
tree20a1c78cf111b06a651f7997d1485983d62e3b6e
parent8663dab8658bcd6fc019375629e09bf8b24dfb95
stasis_recording: Perform a complete match on requested filename.

Using the length of a file found on the filesystem rather than the
file being requested could result in filenames whose names are
substrings of another to be erroneously matched.

We now ensure a complete comparison before returning a positive
result.

ASTERISK-29960 #close

Change-Id: Id3ffc77681b9b75b8569062f3d952a128a21c71a
res/stasis_recording/stored.c