[Bug 207117] Config file is parsed incorrectly: '#' character is removed from values fields, e.g. password

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 11 21:17:05 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207117

            Bug ID: 207117
           Summary: Config file is parsed incorrectly: '#' character is
                    removed from values fields, e.g. password
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: sm at ara-ler.com

Created attachment 166879
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=166879&action=edit
a patch to the existing patch for ssmtp.c file

The bug appears when a '#' is used in values of variables in the config file.
For example, using the following password:

AuthPass=my#password

will cause that everything beyond # to be ignored as a comment.

The patch attached adds a check for '=' character: if it appears before '#' do
not ignore '#' and the followed characters.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list