Mercurial > hg > freeDiameter
annotate extensions/app_sip/TODO @ 1443:ca7ca55e2488
app_sip: debug log a non-NULL value
Detected by gcc 9.1.1.
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Thu, 27 Feb 2020 16:27:48 +1100 |
parents | d20317e74a41 |
children |
rev | line source |
---|---|
420
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
1 /********************************************************************************************************* |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
2 * Software License Agreement (BSD License) * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
3 * Author: Alexandre Westfahl <awestfahl@freediameter.net> * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
4 * * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
5 * Copyright (c) 2010, Alexandre Westfahl, Teraoka Laboratory (Keio University), and the WIDE Project. * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
6 * * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
7 * All rights reserved. * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
8 * * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
9 * Redistribution and use of this software in source and binary forms, with or without modification, are * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
10 * permitted provided that the following conditions are met: * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
11 * * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
12 * * Redistributions of source code must retain the above * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
13 * copyright notice, this list of conditions and the * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
14 * following disclaimer. * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
15 * * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
16 * * Redistributions in binary form must reproduce the above * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
17 * copyright notice, this list of conditions and the * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
18 * following disclaimer in the documentation and/or other * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
19 * materials provided with the distribution. * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
20 * * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
21 * * Neither the name of the Teraoka Laboratory nor the * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
22 * names of its contributors may be used to endorse or * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
23 * promote products derived from this software without * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
24 * specific prior written permission of Teraoka Laboratory * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
25 * * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
26 * * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
27 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
28 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
29 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
30 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
31 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
33 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
34 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
35 *********************************************************************************************************/ |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
36 |
468
d20317e74a41
App_SIP: changed query length thanks to Julien Pichon contribution
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
427
diff
changeset
|
37 Diameter-SIP implementation is still under development. |
420
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
38 |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
39 TODO List |
c8a61dabea55
app_sip:Added LIR/LIA for SL
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
diff
changeset
|
40 * add in malloc the size of char |
427
3d9f300f3b49
Added SAR/SAA and UAR/UAA
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
420
diff
changeset
|
41 * when getting results from mysql, check lenght |
3d9f300f3b49
Added SAR/SAA and UAR/UAA
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
420
diff
changeset
|
42 * sort capabilities in LIR/LIA |
3d9f300f3b49
Added SAR/SAA and UAR/UAA
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
420
diff
changeset
|
43 * make functions for database access in MAR/MAA |
3d9f300f3b49
Added SAR/SAA and UAR/UAA
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
420
diff
changeset
|
44 * order diamsip.h because it's becoming a mess ^^ |
3d9f300f3b49
Added SAR/SAA and UAR/UAA
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
420
diff
changeset
|
45 * replace password in MAR/MAA and libdiamsip from table to malloc char! |
3d9f300f3b49
Added SAR/SAA and UAR/UAA
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
420
diff
changeset
|
46 * display errors of mysql |
3d9f300f3b49
Added SAR/SAA and UAR/UAA
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
420
diff
changeset
|
47 * check that all user data inserted in requests are purified |
3d9f300f3b49
Added SAR/SAA and UAR/UAA
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
420
diff
changeset
|
48 * add accounting server uri in database and diamsip |
3d9f300f3b49
Added SAR/SAA and UAR/UAA
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
420
diff
changeset
|
49 * add mutex on mysql writing |
3d9f300f3b49
Added SAR/SAA and UAR/UAA
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
420
diff
changeset
|
50 * check multithreading of mysql! |
468
d20317e74a41
App_SIP: changed query length thanks to Julien Pichon contribution
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
427
diff
changeset
|
51 * get destination host in database for RTR and PPR |
1443
ca7ca55e2488
app_sip: debug log a non-NULL value
Luke Mewburn <luke@mewburn.net>
parents:
468
diff
changeset
|
52 * libapp_sip.c: fix username_pure memory leaks |
ca7ca55e2488
app_sip: debug log a non-NULL value
Luke Mewburn <luke@mewburn.net>
parents:
468
diff
changeset
|
53 * app_sip_MAR_cb: |
ca7ca55e2488
app_sip: debug log a non-NULL value
Luke Mewburn <luke@mewburn.net>
parents:
468
diff
changeset
|
54 - too much mysql_real_escape_string() use, both within the function and functions it calls |
ca7ca55e2488
app_sip: debug log a non-NULL value
Luke Mewburn <luke@mewburn.net>
parents:
468
diff
changeset
|
55 - on error, leaks allocated: sipuri, username, query. |
427
3d9f300f3b49
Added SAR/SAA and UAR/UAA
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
420
diff
changeset
|
56 |
3d9f300f3b49
Added SAR/SAA and UAR/UAA
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
420
diff
changeset
|
57 |
3d9f300f3b49
Added SAR/SAA and UAR/UAA
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
420
diff
changeset
|
58 |
3d9f300f3b49
Added SAR/SAA and UAR/UAA
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
420
diff
changeset
|
59 |
3d9f300f3b49
Added SAR/SAA and UAR/UAA
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
420
diff
changeset
|
60 |
3d9f300f3b49
Added SAR/SAA and UAR/UAA
Alexandre Westfahl <awestfahl@freediameter.net>
parents:
420
diff
changeset
|
61 |