1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

lib: Map ERANGE to NT_STATUS_INTEGER_OVERFLOW

Bug: https://bugzilla.samba.org/show_bug.cgi?id=15151
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Aug 19 12:43:06 UTC 2022 on sn-devel-184

(cherry picked from commit 06f35edaf1)
(cherry picked from commit e56c18d356bd3419abebd36e1fae39019cabbfaf)
This commit is contained in:
Volker Lendecke 2020-09-01 13:24:55 +02:00 committed by Jule Anger
parent 729bbca5e8
commit 08383bedc3

View File

@ -119,6 +119,9 @@ static const struct {
{ EOVERFLOW, NT_STATUS_ALLOTTED_SPACE_EXCEEDED },
#endif
{ EINPROGRESS, NT_STATUS_MORE_PROCESSING_REQUIRED },
#ifdef ERANGE
{ ERANGE, NT_STATUS_INTEGER_OVERFLOW },
#endif
};
/*********************************************************************