From: Yusuke Endoh via ruby-core Date: 2024-01-09T19:29:20+09:00 Subject: [ruby-core:116113] Re: shadow.so: undefined symbol: rb_tainted_str_new2 --===============7469366138707404538== Content-Type: multipart/alternative; boundary="000000000000f660f1060e80ccd5" --000000000000f660f1060e80ccd5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Jay, ruby-shadow-ruby32 is a third-party gem that is not maintained by the Ruby core team. You may want to find and contact its maintainer. https://rubygems.org/gems/ruby-shadow-ruby32 2024=E5=B9=B41=E6=9C=889=E6=97=A5(=E7=81=AB) 3:55 Jay Mav via ruby-core : > Hello Ruby-Shadow owners and Ruby Dev Team, > > On Linux, using Ruby 3.2.2, getting shadow.so: undefined symbol: > rb_tainted_str_new2 with ruby-shadow-ruby32-2.5.1.gem. > > The following code in this gem uses rb_tainted_str_new2: > pwd/shadow.c:59: rb_tainted_str_new2(entry->pw_name), /* sp_namp = */ > pwd/shadow.c:60: rb_tainted_str_new2(entry->pw_passwd), /* > sp_pwdp, encryped password */ > pwd/shadow.c:69: rb_tainted_str_new2(entry->pw_class), /* > sp_loginclass, user access class */ > shadow/shadow.c:37: rb_tainted_str_new2(entry->sp_namp), > shadow/shadow.c:38: rb_tainted_str_new2(entry->sp_pwdp), > > It needs to be fixed similar to ruby-odbc's: > https://github.com/vhermecz/ruby-odbc/commit/c38d182863b907f9ce55d2dfeb9b= d86e698f8968 > > Can we get the ruby-shadow-ruby32 patched to resolve this issue? > > Thanks. > ______________________________________________ > ruby-core mailing list -- ruby-core@ml.ruby-lang.org > To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org > ruby-core info -- > https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.= org/ --000000000000f660f1060e80ccd5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Jay,

ruby-shadow-ruby32 is a third-p= arty gem that is not maintained by the Ruby core team. You may want to find= and contact its maintainer.

https://rubygems.org/gems/ruby-shad= ow-ruby32

2024=E5=B9=B41=E6=9C=889=E6=97=A5(=E7=81=AB) 3:55 Jay Ma= v via ruby-core <ruby-core= @ml.ruby-lang.org>:
Hello Ruby-Shadow owners and Ruby Dev Team,
=
On Linux, using Ruby 3.2.2, getting shadow.so: undefined symbol: rb_tai= nted_str_new2 with ruby-shadow-ruby32-2.5.1.gem.

The following code = in this gem uses rb_tainted_str_new2:
pwd/shadow.c:59: =C2=A0 =C2=A0 =C2= =A0 =C2=A0 rb_tainted_str_new2(entry->pw_name), /* sp_namp */
pwd/sha= dow.c:60: =C2=A0 =C2=A0 =C2=A0 =C2=A0 rb_tainted_str_new2(entry->pw_pass= wd), /* sp_pwdp, encryped password */
pwd/shadow.c:69: =C2=A0 =C2=A0 =C2= =A0 =C2=A0 rb_tainted_str_new2(entry->pw_class), /* sp_loginclass, user = access class */
shadow/shadow.c:37: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 rb_tainted_str_new2(entry->sp_namp),
shadow/shad= ow.c:38: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 rb_tainted= _str_new2(entry->sp_pwdp),

It needs to be fixed similar to ruby-o= dbc's: https://github.com/vher= mecz/ruby-odbc/commit/c38d182863b907f9ce55d2dfeb9bd86e698f8968

C= an we get the ruby-shadow-ruby32 patched to resolve this issue?

Than= ks.
=C2=A0______________________________________________
=C2=A0ruby-core mailing list -- ruby-core@ml.ruby-lang.org
=C2=A0To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
=C2=A0ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.o= rg/
--000000000000f660f1060e80ccd5-- --===============7469366138707404538== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/ --===============7469366138707404538==--