Closed PaulWieland closed 4 years ago
I just found that if you call an RFC and pass an invalid data type in the structure, you can cause nodeJS to seg fault.
To reproduce it, call RFC_READ_TABLE and pass this stucture:
RFC_READ_TABLE
{ QUERY_TABLE: "MARA", OPTIONS: "A string instead of an array" }
The RFC expects options to be an array, and it throws an error, but then crashes.
Thanks for catching this one. The fix will be shipped with next release.
Fixed in rc11
I just found that if you call an RFC and pass an invalid data type in the structure, you can cause nodeJS to seg fault.
To reproduce it, call
RFC_READ_TABLE
and pass this stucture:The RFC expects options to be an array, and it throws an error, but then crashes.