mirror of
https://github.com/samba-team/samba.git
synced 2025-12-12 12:23:50 +03:00
r22045: As Volker noticed, skip_string's last argument is
redundent. Remove it. Jeremy.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
08ea2b83b2
commit
140881cfbb
@@ -3168,7 +3168,7 @@ char *get_safe_str_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t o
|
||||
return NULL;
|
||||
}
|
||||
/* Check if a valid string exists at this offset. */
|
||||
if (skip_string(buf_base,buf_len, ptr + off, 1) == NULL) {
|
||||
if (skip_string(buf_base,buf_len, ptr + off) == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
return ptr + off;
|
||||
|
||||
Reference in New Issue
Block a user