[Freeswitch-users] Buffer Overflow Issue

Anthony Minessale anthony.minessale at gmail.com
Mon Nov 20 19:51:44 UTC 2017


yes, your version ldns has a bug where it uses select for sockets and you
have more than 1024 sockets causing a buffer overflow.
You need to get on a version of ldns that does not have this bug.


On Mon, Nov 20, 2017 at 1:37 PM, Wesley Akio <wesleyakio at tuntscorp.com>
wrote:

> Hey guys, have any of you ever seen this?
>
> If not I'll file a Jira.
>
> Nov 17 14:03:33 fsc2c9 freeswitch: *** buffer overflow detected ***:
> /usr/bin/freeswitch terminated
> Nov 17 14:03:33 fsc2c9 freeswitch: ======= Backtrace: =========
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/libc.so.6(__
> fortify_fail+0x37)[0x7fa91f207d87]
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/libc.so.6(+
> 0x10df40)[0x7fa91f205f40]
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/libc.so.6(+
> 0x10fcf7)[0x7fa91f207cf7]
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/libldns.so.1(+
> 0x2f095)[0x7fa9198cf095]
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/libldns.so.1(ldns_
> udp_send+0x4f)[0x7fa9198cf57f]
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/libldns.so.1(ldns_
> send_buffer+0x29a)[0x7fa9198cfd1a]
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/libldns.so.1(ldns_
> send+0x89)[0x7fa9198d0029]
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/libldns.so.1(ldns_
> resolver_send_pkt+0x3d)[0x7fa9198d4e9d]
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/libldns.so.1(ldns_
> resolver_send+0x132)[0x7fa9198d52c2]
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/libldns.so.1(ldns_
> resolver_query+0xc0)[0x7fa9198d5400]
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/freeswitch/mod/mod_
> enum.so(+0x33d0)[0x7fa919afc3d0]
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/freeswitch/mod/mod_
> enum.so(+0x361a)[0x7fa919afc61a]
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/freeswitch/mod/mod_
> enum.so(+0x3817)[0x7fa919afc817]
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/libfreeswitch.so.1(
> switch_core_session_run+0x242f)[0x7fa9218d5dbf]
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/libfreeswitch.so.1(
> +0x8933e)[0x7fa9218ce33e]
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/libfreeswitch.so.1(
> +0x84d83)[0x7fa9218c9d83]
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/libfreeswitch.so.1(
> +0x34b7c0)[0x7fa921b907c0]
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/libpthread.so.0(+
> 0x7e25)[0x7fa91fb95e25]
> Nov 17 14:03:33 fsc2c9 freeswitch: /usr/lib64/libc.so.6(clone+
> 0x6d)[0x7fa91f1f034d]
> --
> <http://www.tuntscorp.com/>
>   *Wesley Akio*
>
>   Travessa da Lapa 96 - Sala 24
>
>   Centro – Curitiba – 80010-190
>
>   :  +55 (41) 99950-0033
>
>   :  +1 (305) 842-7095
>
>   : wesley_akio_
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

☞ http://freeswitch.org/http://cluecon.com/http://twitter.com/FreeSWITCH
☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
<http://freeswitch.org/g+>*

ClueCon Weekly Development Call
☎ sip:888 at conference.freeswitch.org  ☎ +19193869900

https://www.youtube.com/watch?v=oAxXgyx5jUw
https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171120/05731ecf/attachment-0001.html>


More information about the FreeSWITCH-users mailing list