mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
r25258: Fix a panic message and remove superfluous return after the call to smb_panic().
Michael
This commit is contained in:
parent
38eca60913
commit
8b5c34b7d1
@ -1409,8 +1409,7 @@ size_t pull_ucs2(const void *base_ptr, char *dest, const void *src, size_t dest_
|
|||||||
|
|
||||||
if (dest_len == (size_t)-1) {
|
if (dest_len == (size_t)-1) {
|
||||||
/* No longer allow dest_len of -1. */
|
/* No longer allow dest_len of -1. */
|
||||||
smb_panic("push_utf8 - invalid dest_len of -1");
|
smb_panic("pull_ucs2 - invalid dest_len of -1");
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ucs2_align(base_ptr, src, flags)) {
|
if (ucs2_align(base_ptr, src, flags)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user