Try samba420

This commit is contained in:
2025-01-20 18:42:30 +01:00
parent c9e958d235
commit f6ff52230b
122 changed files with 41099 additions and 0 deletions

View File

@ -0,0 +1,14 @@
--- source3/lib/util.c.orig 2019-05-07 08:38:21 UTC
+++ source3/lib/util.c
@@ -1916,7 +1916,10 @@ bool any_nt_status_not_ok(NTSTATUS err1,
int timeval_to_msec(struct timeval t)
{
- return t.tv_sec * 1000 + (t.tv_usec+999) / 1000;
+ unsigned long result;
+
+ result = t.tv_sec * 1000 + (t.tv_usec+999) / 1000;
+ return result > INT_MAX ? INT_MAX : result;
}
/*******************************************************************