[perl5-dbi/dbi] eca7d7: Fix a NULL profile dereference in dbi_profile()

  Branch: refs/heads/master=0D
  Home:   https://github.com/perl5-dbi/dbi=0D
  Commit: eca7d7c8f43d96f6277e86d1000e842eb4cc67ff=0D
      https://github.com/perl5-dbi/dbi/commit/eca7d7c8f43d96f6277e86d1000=
e842eb4cc67ff=0D
  Author: Petr P=C3=ADsa=C5=99 <ppisar@redhat.com>=0D
  Date:   2019-07-31 (Wed, 31 Jul 2019)=0D
=0D
  Changed paths:=0D
    M DBI.xs=0D
=0D
  Log Message:=0D
  -----------=0D
  Fix a NULL profile dereference in dbi_profile()=0D
=0D
hv_fetch() documentation requires checking for NULL and the code does=0D
that. But then calls SvOK(profile) uncoditionally two lines later.=0D
This patch fixes it.=0D
=0D
=0D
  Commit: 9c9dd0722e9a208a701bb47fd198679b11512206=0D
      https://github.com/perl5-dbi/dbi/commit/9c9dd0722e9a208a701bb47fd19=
8679b11512206=0D
  Author: Tim Bunce <Tim.Bunce@pobox.com>=0D
  Date:   2019-08-22 (Thu, 22 Aug 2019)=0D
=0D
  Changed paths:=0D
    M DBI.xs=0D
=0D
  Log Message:=0D
  -----------=0D
  Merge pull request #84 from ppisar/dbi_profile_null_profile=0D
=0D
Fix a NULL profile dereference in dbi_profile()=0D
=0D
=0D
Compare: https://github.com/perl5-dbi/dbi/compare/2c335f308ee2...9c9dd072=
2e9a=0D
0
noreply
8/22/2019 8:11:55 PM
perl.dbi.dev 1960 articles. 0 followers. Follow

0 Replies
199 Views

Similar Articles

[PageSpeed] 50

Reply: