gkralik / php7-sapnwrfc

SAP NW RFC SDK extension for PHP 7.3+ & PHP 8
https://gkralik.github.io/php7-sapnwrfc
MIT License
88 stars 35 forks source link

PHP Fatal error: Possible integer overflow in memory allocation (1610760192 32 + 32) #150

Closed maciej123m closed 11 months ago

maciej123m commented 1 year ago

Bug Report

Q A
PHP version 8.1
SAP NW RFC SDK version 2.0 Beta 2
Extension version/git ref 2.0 Beta 2

Summary

At random times when connecting to SAP, the error "PHP Fatal error: Possible integer overflow in memory allocation (1610760192 32 + 32)".

Current behavior

Random error with higher application load.

How to reproduce

Random application failure with more user load on the application. I am unable to reproduce this error intentionally.

ynnoig commented 1 year ago

I had the same problem and was related to latest version of nwrfcsdk... (i think level patch 11 was). Just downgrade it and then it works again. So was in my case!

noaimwastaken commented 1 year ago

@ynnoig I'm using sdk 7.50 patch level 12 and have the same problem as @maciej123m , Could you tell me on which version you had that issue and to which one did you downgrade to?