drachtio / drachtio-freeswitch-modules

A collection of open-sourced freeswitch modules that I use in various drachtio applications
MIT License
174 stars 119 forks source link

mod_google_transcribe: Bug: Calling transcribe2_function in mod_google_transcribe.c sometimes crashes #151

Open entenschnabel opened 10 months ago

entenschnabel commented 10 months ago

Depending on how many parameters are provided to this function it will sometimes crash. If just one parameter or between 10 and 13 parameters are given then the function can cause the process to crash. This is because the array indexing within the function is incorrect.

davehorton commented 10 months ago

ah, thanks. Will have a look

entenschnabel commented 10 months ago

I already submitted a PR here #152 if you want to take a look.