1
0
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:
Jeremy Allison
2007-04-02 20:10:21 +00:00
committed by Gerald (Jerry) Carter
parent 08ea2b83b2
commit 140881cfbb
13 changed files with 145 additions and 145 deletions

View File

@@ -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;