List Info

Thread: trunk/modules/registrar/common.c




trunk/modules/registrar/common.c
user name
2007-10-16 08:48:43
Revision: 2925
          http://openser.svn.sourceforge.net/openser/?rev
=2925&view=rev
Author:   henningw
Date:     2007-10-16 06:48:42 -0700 (Tue, 16 Oct 2007)

Log Message:
-----------
- bugfix in extract_aor, static char array must be filled
with zeros
  before use, otherwise in some cases old data is used

Modified Paths:
--------------
    trunk/modules/registrar/common.c


This was sent by the SourceForge.net collaborative
development platform, the world's largest Open Source
development site.

_______________________________________________
Devel mailing list
Developenser.org
htt
p://openser.org/cgi-bin/mailman/listinfo/devel

Re: trunk/modules/registrar/common.c
country flaguser name
Romania
2007-10-20 13:32:51
Hi Henning,

Can you give more details on this - the case when the buffer
in 
inherited  from previous runs ?
I took a short look, but I see the buffer is all the time
initialized 
with AOR username part (via un_escape() function). But maybe
something 
is missing me ;).

Thanks and regards,
Bogdan

Henning Westerholt wrote:
> Revision: 2925
>           http://openser.svn.sourceforge.net/openser/?rev
=2925&view=rev
> Author:   henningw
> Date:     2007-10-16 06:48:42 -0700 (Tue, 16 Oct 2007)
>
> Log Message:
> -----------
> - bugfix in extract_aor, static char array must be
filled with zeros
>   before use, otherwise in some cases old data is used
>
> Modified Paths:
> --------------
>     trunk/modules/registrar/common.c
>
>
> This was sent by the SourceForge.net collaborative
development platform, the world's largest Open Source
development site.
>
> _______________________________________________
> Devel mailing list
> Developenser.org
> htt
p://openser.org/cgi-bin/mailman/listinfo/devel
>
>   


_______________________________________________
Devel mailing list
Developenser.org
htt
p://openser.org/cgi-bin/mailman/listinfo/devel

Re: trunk/modules/registrar/common.c
country flaguser name
Germany
2007-10-22 04:08:09
On Saturday 20 October 2007, Bogdan-Andrei Iancu wrote:
> Hi Henning,
>
> Can you give more details on this - the case when the
buffer in
> inherited  from previous runs ?
> I took a short look, but I see the buffer is all the
time initialized
> with AOR username part (via un_escape() function). But
maybe something
> is missing me ;).

Hello Bogdan,

i found this error happens in the following scenario:

- User "497211234567891" issues register request
- request is not allowed because of max registration count
- annother user "49721123456789" registers
- in the db the wrong user "497211234567891" is
looked up in the DB
                                          ^

Cheers,

Henning

_______________________________________________
Devel mailing list
Developenser.org
htt
p://openser.org/cgi-bin/mailman/listinfo/devel

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )