mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
Prepare to remove smb_panic() from unix_strlower().
This commit is contained in:
parent
8605b35e88
commit
b6eb3a6808
@ -415,6 +415,8 @@ static bool unix_strlower(const char *src, size_t srclen, char *dest, size_t des
|
||||
(void **)(void *)&buffer, &size))
|
||||
{
|
||||
smb_panic("failed to create UCS2 buffer");
|
||||
/* NOTREACHED. Yet. */
|
||||
return false;
|
||||
}
|
||||
if (!strlower_w(buffer) && (dest == src)) {
|
||||
TALLOC_FREE(buffer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user