Actions
Bug #8861
closedsegmentation fault with ruby-ldap
Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3p448 (2013-06-27 revision 41675) [i686-linux]
Backport:
Description
The following code is wrong as the fourth line should read: mod = LDAP::Mod.new(LDAP::LDAP_MOD_DELETE, "uid", ["uid=malvezzi"])
#encoding: utf-8
require 'ldap'
require 'ldap/ldif'
mod = LDAP::Mod.new(LDAP::LDAP_MOD_DELETE, ["uid"], ["uid=malvezzi"])
puts LDAP::LDIF.mods_to_ldif("uid=malvezzi,ou=people,dc=unimore,dc=it" , [ mod ])
However ruby should not end up with a segmentation fault. Please che attached file seg.txt. ruby-ldap version is ruby-ldap (0.9.15)
thank you,
Francesco
Files
Updated by kou (Kouhei Sutou) over 10 years ago
- Status changed from Open to Third Party's Issue
It is a ruby-ldap issue not Ruby itself. Please report it to ruby-ldap: https://github.com/alexey-chebotar/ruby-ldap
Actions
Like0
Like0