[Libav-user] rtsp base64 encoded credentials
richard.lince at bluebox.video
Mon Apr 13 15:48:11 EEST 2020
I've done a little more digging with a bug which I believe must be quite
common, string parsing at "av_url_split" for authentication extraction.
The issue exists in v4.2.2.
line 4817 - libavformat/utils.c
ls = p + strcspn(p, "/?#");
This does not permit passwords or user names with the characters:
Can anyone confirm this to be the case or not please.
last commit (however always perhaps broken)
On 08/04/2020 16:42, Richard Lince wrote:
> I'm looking at a way to use a base64 digest string as input into the
> "avformat_open_input" call for the credentials portion.
> Sure that you would normally use:
> format as an example, however, this format does not account for
> invalid characters that are valid password characters, examples:
> Perhaps a method exists that I'm unaware of, any ideas welcome.
> Libav-user mailing list
> Libav-user at ffmpeg.org
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".
Owner and Founder
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user