Riza Sulistyo
5ac9104514
Expand tab to spaces and remove $Id$ ( #3292 )
2022-11-22 16:26:54 +07:00
sauwming
5c1fa437cc
Add checks and assertion if PJSIP string length is negative ( #2783 )
2021-08-09 11:11:32 +08:00
Nanang Izzuddin
3e8a70aeab
Misc (re #1945 ): Avoid calling memchr() or memcpy() with NULL pointer (thanks Kal from the patch).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5468 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-24 03:22:46 +00:00
Sauw Ming
e7469c2232
Re #1882 (misc): Add assertion checks in pj_strncpy() and pj_strncpy_with_null(). When max is negative, it may go undetected and cause crash since it will be cast to an unsigned when calling pj_memcpy().
...
Thanks to Dusan Klinec for the suggestion.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5229 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-31 05:06:03 +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
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
7764f17927
Misc (ticket #838 ):
...
- protect pj_strdup() for case when source and destination string are the same pointer. Without this, destination string will contain garbage value.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2749 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-04 22:08:16 +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
337fb5e986
Fixed warnings in PJLIB string_i.h about variable may not get initialized
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1527 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-26 09:02:28 +00:00
Benny Prijono
18a051b8c0
Fixed ticket #348 : various bugs in string comparison functions
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1397 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-28 00:50:10 +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
ea4296c385
SIP methods are now compared case-sensitively (previously it was case-insensitive) because the standard says so. There's no ill effect of the old behavior, but it's still important that we do things according to what the standard says.
...
Also a little change in string implementation (use memcmp() instead of strncmp()), an increase the version number from 0.5.7.6 to 0.5.7.7.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@713 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13 22:48:37 +00:00
Benny Prijono
dcf299626b
Set default option to exclude pj_stricmp_alnum()
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@354 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-23 18:03:40 +00:00
Benny Prijono
942452ba36
Added pj_strdup2_with_null
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@263 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-02 21:12:28 +00:00
Benny Prijono
5a9091c374
Added pj_strcat2
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@180 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-14 20:59:53 +00:00
Benny Prijono
8220f90610
Fixed bugs and added tests to handle NULL and zero length strings
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@118 74dad513-b988-da41-8d7b-12977e46ad98
2006-01-09 17:20:59 +00:00
Benny Prijono
cec5f4ae2c
More optimizations for msg parser etc.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@77 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-22 23:51:50 +00:00
Benny Prijono
a7944bb257
Added pj_stricmp_alnum() to speedup the parser!!!
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@72 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 17:01:50 +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
e9ed389fd1
Added hex character conversion utility in ctype
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@62 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-20 19:55:42 +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
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