summaryrefslogtreecommitdiff
path: root/net/pecl-radius/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/pecl-radius/files')
-rw-r--r--net/pecl-radius/files/patch-radlib.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/pecl-radius/files/patch-radlib.c b/net/pecl-radius/files/patch-radlib.c
new file mode 100644
index 000000000000..ce4e016181dd
--- /dev/null
+++ b/net/pecl-radius/files/patch-radlib.c
@@ -0,0 +1,10 @@
+--- radlib.c.orig 2025-05-06 17:27:50 UTC
++++ radlib.c
+@@ -748,7 +748,6 @@ rad_auth_open(void)
+
+ h = (struct rad_handle *)malloc(sizeof(struct rad_handle));
+ if (h != NULL) {
+- php_srand(time(NULL) * getpid() * (unsigned long) (php_combined_lcg() * 10000.0));
+ h->fd = -1;
+ h->num_servers = 0;
+ h->ident = (zend_long) php_mt_rand();