Re: Bug with credit-time owerflow?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This value should not cause any overflow. A valid range
of credit-time values should cover <0;2.147.483.647>
Is it 93.927.322 the exact value that caused your problems?

----- Original Message ----- 
From: "Michael Bannij" <rin@xxxxxxxxxxx>
Sent: Thursday, July 08, 2004 8:55 PM


> I't may be potential credit-time owerflow bug in gnugk or 
> ohphone. I'm new to gnugk code so I can't check where it 
> happens, maybe any hints?
> 
> Test system is as follows:
>  - gnugk configured in complete proxy mode (clients exchanges in 
> direct with only it's media streams). Authorization of ARQ and 
> RRQ tuned trough radius.
>  - both clients are ohphone's placed in local net and use 
> login/password sheme.
> I've tuned my radius-server/billing system to reply with such 
> huge credit-time (it's about 3 years):
> 
> Sending Access-Accept of id 253 to 127.0.0.1:53260
>         h323-credit-time = "93927322"
>         h323-return-code = "0"
> 
> And it happens that the call is disconnected right after it was 
> issued. Seems like number 93927322 owerflows some variable and 
> that becomes interpreted as negative.
> 
> When I changed 93927322 to fine little number, to 600, all 
> appears to be wirking fine.



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux