0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-22 14:39:19 +00:00
Files
packages/lang/perl/perl-authen-sasl-xs/patches/106-fix-sasl_ssf-and-sasl_maxoutbuf-property.patch
Josef Schlehofer e9f4aa38ef treewide: move all perl packages into its own folder
This makes it in sync with Python packages.
Python packages has its own place in /lang/python
Perl does not, so this fixes it.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-07-06 16:21:08 +02:00

24 lines
558 B
Diff

From: Niko Tyni <ntyni@debian.org>
Date: Mon, 5 Aug 2024 16:50:56 +0100
X-Dgit-Generated: 1.00-2 fe76997d50267530dd5a5f73995d11987547ac4d
Subject: Fix SASL_SSF and SASL_MAXOUTBUF property handling
sasl_getprop() returns a pointer which needs to be dereferenced to get
the actual value.
Bug-Debian: https://bugs.debian.org/1075146
---
--- a/XS.xs
+++ b/XS.xs
@@ -1883,7 +1883,7 @@ PPCODE:
break;
case SASL_SSF:
case SASL_MAXOUTBUF:
- XPUSHi((long int)value);
+ XPUSHi(*((IV *)value));
break;
#ifdef SASL2
case SASL_IPLOCALPORT: