[Asterisk-Users] Patching Asterisk for OpenH323 ASN.1 Vulnera bilities

LEOLCH at hgc.com.hk LEOLCH at hgc.com.hk
Wed Feb 25 18:18:45 MST 2004


Hi, 

In the Makefile inside asterisk/channels/h323 directory, there's a line like
this:
CFLAGS += -I$(PWLIBDIR)/include/ptlib/unix -I$(PWLIBDIR)/include

try to use "-I$(PWLIBDIR)/include" ONLY, it should work.  I've compiled it
with pwlib 1_6_2, which works fine

leo

-----Original Message-----
From: Adam Hart [mailto:adam at teragen.com.au]
Sent: Thursday, February 26, 2004 6:43 AM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] Patching Asterisk for OpenH323 ASN.1
Vulnerabilities


Wierd errors, the actual library compiled fine though? Cause pdirect.h
doesn't been touched for 5 months

----- Original Message ----- 
From: "Jim Rosenberg" <jr at amanue.com>
To: <asterisk-users at lists.digium.com>
Sent: Thursday, February 26, 2004 9:33 AM
Subject: Re: [Asterisk-Users] Patching Asterisk for OpenH323 ASN.1
Vulnerabilities


> On Thu, Feb 26, 2004 at 09:13:20AM +1100, Adam Hart wrote:
> > Yes, asterisk is vulnerable if you have H.323 running.
>
> > What happens when you try and compile asterisk with the latest version
of
> > OpenH323, it's been a few months since i've done it but it used to work.
>
> A flood of errors. Starting off like this:
>
> In file included from
/local/dist/asterisk/pwlib_1.6.0/include/ptlib.h:169,
>                  from ast_h323.h:30,
>                  from ast_h323.cpp:29:
> /local/dist/asterisk/pwlib_1.6.0/include/ptlib/unix/ptlib/pdirect.h:78:
syntax
>    error before `protected'
> /local/dist/asterisk/pwlib_1.6.0/include/ptlib/unix/ptlib/pdirect.h:80:
syntax
>    error before `*' token
> In file included from
/local/dist/asterisk/pwlib_1.6.0/include/ptlib.h:181,
>                  from ast_h323.h:30,
>                  from ast_h323.cpp:29:
> /local/dist/asterisk/pwlib_1.6.0/include/ptlib/unix/ptlib/config.h:53:
syntax
>    error before `public'
> /local/dist/asterisk/pwlib_1.6.0/include/ptlib/unix/ptlib/config.h:55:
destructors
>    must be member functions
> /local/dist/asterisk/pwlib_1.6.0/include/ptlib/unix/ptlib/config.h:57:
syntax
>    error before `protected'
> In file included from
/local/dist/asterisk/pwlib_1.6.0/include/ptlib.h:187,
>                  from ast_h323.h:30,
>                  from ast_h323.cpp:29:
> /local/dist/asterisk/pwlib_1.6.0/include/ptlib/args.h:121: syntax error
before
>    `{' token
>
> (This isn't the actual "latest" version, but the one published on the
> OpenH323 mailing list as the one to use to pick up the patch for the ASN.1
> problem.)
>
> -Thanks, Jim
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list