[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl5-changes
Subject:    [Perl/perl5] 94664d: XS::APItest: don't allow a NULL AV * through
From:       Tony Cook via perl5-changes <perl5-changes () perl ! org>
Date:       2024-01-30 21:50:11
Message-ID: Perl/perl5/push/refs/heads/blead/551743-94664d () github ! com
[Download RAW message or body]

  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 94664de147ae2d0866c8f79a7dce7ea237bc880a
      https://github.com/Perl/perl5/commit/94664de147ae2d0866c8f79a7dce7ea237bc880a
  Author: Tony Cook <tony@develop-help.com>
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
    M ext/XS-APItest/APItest.xs

  Log Message:
  -----------
  XS::APItest: don't allow a NULL AV * through

e6c95c59c changed how av is initialised in multicall_return,
leaving it possible for it to be NULL after the switch.

Of course the values of "context" for that are invalid, so throw
an error.  This should also resolve this for Coverity and perhaps
other static analysis.

cid 480208


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic