Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
d6a3dd51
Commit
d6a3dd51
authored
Dec 06, 2004
by
Sang Seok Lim
Browse files
Bug fix
GSER/BER decoders: return code and memory leackage
parent
fb2d226a
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
contrib/slapd-modules/comp_match/Makefile
View file @
d6a3dd51
...
...
@@ -17,7 +17,7 @@
topbuilddir
=
../../../../build
topsrcdir
=
../../..
snaccdir
=
/
usr/local
/snacc
snaccdir
=
/
home/slim
/snacc
LIBTOOL
=
$(topbuilddir)
/libtool
OPT
=
-g
-O2
-DLDAP_COMPONENT
...
...
contrib/slapd-modules/comp_match/certificate.c
View file @
d6a3dd51
This diff is collapsed.
Click to expand it.
contrib/slapd-modules/comp_match/certificate.h
View file @
d6a3dd51
...
...
@@ -3,7 +3,7 @@
/*
* certificate.h
* "AuthenticationFramework" ASN.1 module encode/decode/extracting/matching/free C src.
* This file was generated by modified eSMACC compiler
Tue Nov 23 23:28:16
2004
* This file was generated by modified eSMACC compiler
Sun Dec 5 19:16:59
2004
* The generated files are strongly encouraged to be
* compiled as a module for OpenLDAP Software
*/
...
...
contrib/slapd-modules/comp_match/componentlib.c
View file @
d6a3dd51
...
...
@@ -1935,7 +1935,7 @@ BDecComponentVisibleString ( void* mem_op, GenBuf *b, AsnTag tagId, AsnLen len,
/*
* Routines for handling an ANY DEFINED Type
*/
void
int
SetAnyTypeByComponentOid
(
ComponentAny
*
v
,
ComponentOid
*
id
)
{
Hash
hash
;
void
*
anyInfo
;
...
...
@@ -1953,6 +1953,7 @@ SetAnyTypeByComponentOid ( ComponentAny *v, ComponentOid *id ) {
* Yet-to-be-Implemented
*/
}
return
LDAP_SUCCESS
;
}
void
...
...
@@ -1980,6 +1981,8 @@ BDecComponentAny ( void* mem_op, GenBuf *b, ComponentAny *result, AsnLen *bytesD
ComponentAny
*
k
,
**
k2
;
k
=
(
ComponentAny
*
)
result
;
if
(
!
k
)
return
(
-
1
);
if
(
mode
&
DEC_ALLOC_MODE_0
)
{
k2
=
(
ComponentAny
**
)
result
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment