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
If os.Open(..) returns an error, we log however continue. io.ReadAll(...) returns an invalid argument error and continues (but logs error). The .Close function handles the nil condition and continues.
podInterfaceID := string(data) is just an empty string and assuming what ever was supposed to happen on line
Note: I didn't do a full analysis however the function looks suspect.
The text was updated successfully, but these errors were encountered:
MikeZappa87
changed the title
CNS Possibly Not Handling Error Correctly and Not Releasing IP Address
CNS Possibly Not Handling Error Correctly and Possibly Not Releasing IP Address
Apr 3, 2025
Uh oh!
There was an error while loading. Please reload this page.
I have not observed this however while reading the code, I noticed this as a possible condition that may not release the ip address.
azure-container-networking/cns/fsnotify/fsnotify.go
Line 60 in a2a2ab8
If os.Open(..) returns an error, we log however continue. io.ReadAll(...) returns an invalid argument error and continues (but logs error). The .Close function handles the nil condition and continues.
podInterfaceID := string(data) is just an empty string and assuming what ever was supposed to happen on line
azure-container-networking/cns/fsnotify/fsnotify.go
Line 73 in a2a2ab8
Note: I didn't do a full analysis however the function looks suspect.
The text was updated successfully, but these errors were encountered: