Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Robert Dubner
OpenLDAP
Commits
affe8359
Commit
affe8359
authored
Apr 15, 2004
by
Howard Chu
Browse files
NUL-terminate alloc'd berbuf (ITS#3086)
parent
e77b064a
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblber/io.c
View file @
affe8359
...
...
@@ -657,6 +657,7 @@ ber_get_next(
AC_MEMCPY
(
ber
->
ber_buf
+
sblen
,
ber
->
ber_ptr
,
l
);
sblen
+=
l
;
}
*
ber
->
ber_end
=
'\0'
;
ber
->
ber_ptr
=
ber
->
ber_buf
;
ber
->
ber_usertag
=
0
;
if
((
ber_len_t
)
sblen
==
ber
->
ber_len
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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