Commit 6ac1c72
Sergei Trofimovich
contrib/mod_ldap.c: fix SIGSEGV in mod_ldap:ldap_mod_init ()
The crash happens due to missing sentinel value in `pstrcat()`
```c
feats = pstrcat(tmp_pool, feats, i != 0 ? ", " : "",
api_info.ldapai_extensions[i]);
```
The change is to add sentinel to `pstrcat()` call.
Bug: #1027
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>1 parent 0b8f005 commit 6ac1c72
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3218 | 3218 | | |
3219 | 3219 | | |
3220 | 3220 | | |
3221 | | - | |
| 3221 | + | |
3222 | 3222 | | |
3223 | 3223 | | |
3224 | 3224 | | |
| |||
0 commit comments