summaryrefslogtreecommitdiff
path: root/libcli/smb/smb_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/smb/smb_util.h')
-rw-r--r--libcli/smb/smb_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcli/smb/smb_util.h b/libcli/smb/smb_util.h
index b5a06524cb..322ecb6397 100644
--- a/libcli/smb/smb_util.h
+++ b/libcli/smb/smb_util.h
@@ -23,3 +23,5 @@ char *attrib_string(TALLOC_CTX *mem_ctx, uint32_t attrib);
uint32_t unix_perms_to_wire(mode_t perms);
mode_t wire_perms_to_unix(uint32_t perms);
mode_t unix_filetype_from_wire(uint32_t wire_type);
+
+bool smb_buffer_oob(uint32_t bufsize, uint32_t offset, uint32_t length);