Groups
Sign in
Groups
perl.dbi.dev
Conversations
About
Send feedback
Help
info
Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Learn more
[perl5-dbi/dbi] b5a144: Fix calling newSV() in malloc_using_sv()
1 view
Skip to first unread message
Tim Bunce
unread,
Jul 27, 2019, 12:45:03 AM
7/27/19
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dbi...@perl.org
Branch: refs/heads/master
Home:
https://github.com/perl5-dbi/dbi
Commit: b5a1440f0352ccf36dbad791389ad65b2d1ce64c
https://github.com/perl5-dbi/dbi/commit/b5a1440f0352ccf36dbad791389ad65b2d1ce64c
Author: Pali <
pa...@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....@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
0 new messages