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
The lock is not held between getting the value for the queried folder from folderCfgs and from folderIgnores. Therefore the latter does not necessarily exist and it's existence isn't checked.
PR incoming.
The text was updated successfully, but these errors were encountered:
imsodin
added a commit
to imsodin/syncthing
that referenced
this issue
Aug 11, 2017
In addition this function returned an error when .stignore file was not
present, which is perfectly valid. Also removed inconsistent nil check in
ignores.go (only relevant for tests) and adjusted walk.go to do what it says
in comments (check if Matcher is nil) to prevent nil deref in tests.
Originally reported in:
https://forum.syncthing.net/t/reason-for-panic-maybe-too-little-ram/10346
Regression from syncthing#3996
In addition this function returned an error when .stignore file was not
present, which is perfectly valid. Also removed inconsistent nil check in
ignores.go (only relevant for tests) and adjusted walk.go to do what it says
in comments (check if Matcher is nil) to prevent nil deref in tests.
Originally reported in:
https://forum.syncthing.net/t/reason-for-panic-maybe-too-little-ram/10346
Regression from syncthing#3996
GitHub-Pull-Request: syncthing#4301
https://forum.syncthing.net/t/reason-for-panic-maybe-too-little-ram/10346
The lock is not held between getting the value for the queried folder from
folderCfgs
and fromfolderIgnores
. Therefore the latter does not necessarily exist and it's existence isn't checked.PR incoming.
The text was updated successfully, but these errors were encountered: