Branch: refs/heads/master
  Home:   https://github.com/perl5-dbi/dbi
  Commit: b5a1440f0352ccf36dbad791389ad65b2d1ce64c
      
https://github.com/perl5-dbi/dbi/commit/b5a1440f0352ccf36dbad791389ad65b2d1ce64c
  Author: Pali <p...@cpan.org>
  Date:   2019-07-25 (Thu, 25 Jul 2019)

  Changed paths:
    M DBI.xs

  Log Message:
  -----------
  Fix calling newSV() in malloc_using_sv()

newSV(0) returns undef, scalar without PV slot. newSV(len) for len > 0
returns scalar with len+1 bytes in PV slot.

This change fixes calling malloc_using_sv(0) which may happen by calling
savepv_using_sv("").


  Commit: abbcc3bcb649173ede8e1d407e852d7d51ce9e6e
      
https://github.com/perl5-dbi/dbi/commit/abbcc3bcb649173ede8e1d407e852d7d51ce9e6e
  Author: Tim Bunce <tim.bu...@pobox.com>
  Date:   2019-07-26 (Fri, 26 Jul 2019)

  Changed paths:
    M DBI.xs

  Log Message:
  -----------
  Merge pull request #81 from pali/newSV

Fix calling newSV() in malloc_using_sv()


Compare: https://github.com/perl5-dbi/dbi/compare/a9d94f68fa17...abbcc3bcb649

Reply via email to