sauwming
033e4d7ae3
Fixed printf format warnings ( #3813 )
2023-12-27 10:32:32 +08:00
silentindark
c224f26420
Fix warnings ( #3778 )
2023-11-16 15:30:03 +08:00
bennylp
5ed9461bbe
Replace unsafe string functions such as strcpy, strncpy, strcat, and sprintf with newly implemented pj_ansi_strxcpy, pj_ansi_strxcpy2, and pj_ansi_strxcat
2023-03-24 11:11:20 +07:00
sauwming
4680c7add7
Merge master
2023-03-14 10:24:59 +08:00
sauwming
93b6d942cf
Limit the number of searched blocks searched for pool allocation ( #3423 )
2023-03-13 07:58:05 +08:00
bennylp
b97614d1bc
Drop pj_ansi_safe_strncpy() in favor of safe pj_ansi_strncpy(), fix incorrect use of pj_ansi_safe_strncpy()
2023-02-21 18:25:04 +07:00
bennylp
5fe4bc1972
Fix usages of strncpy(), pj_ansi_strncpy(), and strncat() by replacing them with pj_ansi_safe_strncpy() and pj_ansi_safe_strcpycat()
2023-02-18 12:51:49 +07:00
Riza Sulistyo
5ac9104514
Expand tab to spaces and remove $Id$ ( #3292 )
2022-11-22 16:26:54 +07:00
Benny Prijono
d1803e61dd
Re #1751 : fixed miscellaneous gcc warnings
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4890 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-19 00:54:34 +00:00
Riza Sulistyo
25b575b336
Re #1680 : Add initial support for Win64
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4537 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19 06:47:43 +00:00
Nanang Izzuddin
ecd48f6446
Fix #1593 : avoid wrap around in caching pool capacity value.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4298 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-22 05:00:01 +00:00
Nanang Izzuddin
a62ffc9d03
Re #1250 : Updated the year in all copyright texts with 2011!
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05 06:14:19 +00:00
Benny Prijono
4969f375b4
More ticket #1037 :
...
- bug in aligning pointer if sizeof(long) is less than sizeof(void*). Thanks John Ridges for pointing this out
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3082 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-29 11:20:43 +00:00
Benny Prijono
ba858ec479
Fixed ticket #1037 : Memory pool alignment error when alignment is set to be greater than the default (thanks John Ridges for the report):
...
- fixed the pool allocation routines in PJLIB,
- add alignment test in pjlib-test (only useful if PJ_POOL_ALIGNMENT is configured in config_site.h),
- fixed other pool tests in pjlib-test which are broken when PJ_POOL_ALIGNMENT is enlarged
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3081 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-29 10:10:49 +00:00
Benny Prijono
17412425cd
Fixed ticket #980 : Memory pool alignment error when alignment is set to be greater than 4 bytes (thanks John Ridges for the report)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2963 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-24 02:06:40 +00:00
Benny Prijono
844653c1f2
Updated copyright notice in all files to Teluu Inc., and changed the year as well
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-23 17:27:53 +00:00
Benny Prijono
32177c0418
Large changeset to replace all occurences of year 2007 with 2008 in the copyright notice
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2039 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 22:44:47 +00:00
Benny Prijono
152d1e525d
Calling strncpy with a maximum size argument of (32) on destination buffer '(pool)->obj_name' of size (32) can possibly leave the destination buffer lacking null-termination
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1633 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-14 17:27:13 +00:00
Benny Prijono
1f61a8f8af
Ticket #354 : continuing work to port the Symbian libraries to .DSO format
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1417 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-16 10:11:44 +00:00
Benny Prijono
f260e46ce4
Initial Symbian integration to trunk for pjlib
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1235 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-30 21:03:32 +00:00
Benny Prijono
a771a51a61
Ticket #110 : HUGE HUGE changeset to replace all occurence of year 2006 with 2007 in copyright notice in all sources
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@974 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19 01:13:53 +00:00
Benny Prijono
83217fa9ed
Fixed ticket #105 : unnecessary assert in fixed buffer based pool (pool_buf) on no memory condition
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@953 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-16 21:44:36 +00:00
Benny Prijono
7d93d4e8b5
Added pool for allocating memory from the stack buffer
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@725 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-17 19:54:23 +00:00
Benny Prijono
e85bc4114b
Another take at fixing 64bit problems. PJ_MAX_OBJ_NAME is increased to 32 chars (from 16), and check all those sprintf's especially the ones with "%p" format.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@635 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-29 20:29:24 +00:00
Benny Prijono
ac623b3bca
Change all pj_memset to pj_bzero(), where applicable
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@582 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 15:19:31 +00:00
Benny Prijono
42c5b9e200
Merge-in RTEMS port patch by Phil Torre <ptorre@zetron.com>, alpha release.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@433 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-10 19:24:40 +00:00
Benny Prijono
8508aa0ce4
Added ability to have custom pool backend (needed for pool debugging facility)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@364 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-30 15:56:01 +00:00
Benny Prijono
ed811d7b04
Fixed compilation and run warnings/errors with MSVC 2005
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@315 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-10 12:57:12 +00:00
Benny Prijono
c81dfef6b0
Changed loggin to level 6 (from 5)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@108 74dad513-b988-da41-8d7b-12977e46ad98
2006-01-07 18:41:22 +00:00
Benny Prijono
d493480140
Small optimization in pool (removed used_size)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@69 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 16:58:03 +00:00
Benny Prijono
9033e31911
Set svn:eol-style for all files
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@66 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 02:08:39 +00:00
Benny Prijono
e0312a7f30
Pretty comments
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@51 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-18 00:16:43 +00:00
Benny Prijono
e722461aef
Applying license to pjproject
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@49 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-13 19:40:44 +00:00
Benny Prijono
48a9f4c6fa
Final commit before 0.3-pre3
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@6 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-02 12:50:58 +00:00
Benny Prijono
4766ffe101
Just changing keyword expansion
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@3 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-01 17:56:59 +00:00
Benny Prijono
dd859a62f4
Added suppor /and fix things for SunOS port
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@2 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-01 16:42:51 +00:00
Benny Prijono
0a749f11c7
initial import
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@1 74dad513-b988-da41-8d7b-12977e46ad98
2005-10-31 21:02:30 +00:00