Skip to content
This repository has been archived by the owner on Jan 22, 2018. It is now read-only.

Redmine #5727 TFTP protect against empty stuff #1228

Merged
merged 1 commit into from
Jan 5, 2016
Merged

Redmine #5727 TFTP protect against empty stuff #1228

merged 1 commit into from
Jan 5, 2016

Conversation

phil-davis
Copy link

  1. If the user presses Save when there was no interface selected, and
    the user has still not selected an interface, then do not attempt to
    unset() tftpdinterface in the config when it is already unset.
  2. If the user does backup/restore or other similar stuff when the
    tftpboot directory has no files in it, then do not do chmod of the
    (non-existent) files. This avoids a "No such file or directory" message
    being logged.
    This is for 2.1.* and 2.2.* - I will also make an equivalent PR in the other repo for 2.3

1) If the user presses Save when there was no interface selected, and
the user has still not selected an interface, then do not attempt to
unset() tftpdinterface in the config when it is already unset.
2) If the user does backup/restore or other similar stuff when the
tftpboot directory has no files in it, then do not do chmod of the
(non-existent) files. This avoids a "No such file or directory" message
being logged.
@phil-davis
Copy link
Author

I don't see where the TFTP package has been converted yet for 2.3 - so there is no code to patch for that.

@netgate-git-updates netgate-git-updates merged commit 82e6d1b into pfsense:master Jan 5, 2016
rbgarga added a commit that referenced this pull request Jan 5, 2016
@phil-davis phil-davis deleted the tftpfix branch January 5, 2016 13:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
2 participants