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
Nadezhda Ivanova
OpenLDAP
Commits
9d11c5ea
Commit
9d11c5ea
authored
Jan 19, 2003
by
Hallvard Furuseth
Browse files
Remove pointless `unsigned < 0' test.
parent
265b7e22
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblber/decode.c
View file @
9d11c5ea
...
...
@@ -141,11 +141,6 @@ ber_skip_tag( BerElement *ber, ber_len_t *len )
*
len
=
lc
;
}
/* BER length should be non-negative */
if
(
*
len
<
0
)
{
return
LBER_DEFAULT
;
}
/* BER element should have enough data left */
if
(
*
len
>
(
ber_len_t
)
ber_pvt_ber_remaining
(
ber
)
)
{
return
LBER_DEFAULT
;
...
...
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