Skip Menu |
 

This queue is for tickets about the Math-WalshTransform CPAN distribution.

Report information
The Basics
Id: 122909
Status: new
Priority: 0/
Queue: Math-WalshTransform

People
Owner: Nobody in particular
Requestors: TONYC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: product() implementation fails to extend the stack
Download (untitled) / with headers
text/plain 468b
In -DDEBUGGING builds of development perls there are now checks that ops properly extend the stack before using the space on the stack. The product() function in WalshTransform.xs uses up to nx entries, but doesn't extend the stack at all. Without this extension the product() function could potentially be writing past the end of an allocated block of memory. Adding: EXTEND(SP, nx); before the for loop properly extends the stack and prevents the error. Tony


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.