You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Thank you for the S7 library. I'd like to report a bug. In the client.Read function, buffer is not allocated in line 383 as below, which causes panic while copying response.Data in client.readArea. I am not sure if it is wise to make var buffer = make([]byte, 255) in client.Read function or changing function signature to pass buffer as a parameter.
Hello,
Thank you for the S7 library. I'd like to report a bug. In the
client.Read
function, buffer is not allocated in line 383 as below, which causes panic while copying response.Data inclient.readArea
. I am not sure if it is wise to makevar buffer = make([]byte, 255)
inclient.Read
function or changing function signature to pass buffer as a parameter.gos7/client.go
Lines 374 to 384 in a789e2a
The text was updated successfully, but these errors were encountered: