Univention Bugzilla – Attachment 6957 Details for
Bug 38696
Logic errors: comparison of unsigned expression
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Fix comparison of unsigned expression
file_38696.txt (text/plain), 1.17 KB, created by
Philipp Hahn
on 2015-06-12 12:41:19 CEST
(
hide
)
Description:
Fix comparison of unsigned expression
Filename:
MIME Type:
Creator:
Philipp Hahn
Created:
2015-06-12 12:41:19 CEST
Size:
1.17 KB
patch
obsolete
>diff --git a/branches/ucs-4.0/ucs-4.0-2/management/univention-directory-listener/src/cache_lowlevel.c b/branches/ucs-4.0/ucs-4.0-2/management/univention-directory-listener/src/cache_lowlevel.c >index 03ac6e7..941e32b 100644 >--- a/branches/ucs-4.0/ucs-4.0-2/management/univention-directory-listener/src/cache_lowlevel.c >+++ b/branches/ucs-4.0/ucs-4.0-2/management/univention-directory-listener/src/cache_lowlevel.c >@@ -267,7 +267,7 @@ int parse_entry(void *data, u_int32_t size, CacheEntry *entry) > } else { > univention_debug(UV_DEBUG_LISTENER, UV_DEBUG_ERROR, "bad data block at position %d:", pos); > univention_debug(UV_DEBUG_LISTENER, UV_DEBUG_ERROR, "last 100 bytes of previous entry:"); >- hex_dump(UV_DEBUG_ERROR, data, pos-1000 < 0 ? 0 : pos-1000, pos-1000 < 0 ? pos : 1000); >+ hex_dump(UV_DEBUG_ERROR, data, pos < 1000 ? 0 : pos-1000, pos < 1000 ? pos : 1000); > univention_debug(UV_DEBUG_LISTENER, UV_DEBUG_ERROR, "first 100 bytes of current entry:"); > hex_dump(UV_DEBUG_ERROR, data, pos, pos+1000 > size ? size-pos : 1000); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 38696
: 6957