Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 2019 15:05:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 239560] sysrc misinterprets "variable=value"-like strings as real assignments
Message-ID:  <bug-239560-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239560

            Bug ID: 239560
           Summary: sysrc misinterprets "variable=3Dvalue"-like strings as
                    real assignments
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: 0mp@FreeBSD.org

Here is a file that can be used to reproduce the bug:

```
real=3D"
fake=3D0"
```

Now the result of running `sysrc -f file -a` is:

> real:
> fake=3D0
> fake:

The bug is that sysrc should not print "fake:" here.

I'm running FreeBSD 13.0-CURRENT r350403.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239560-227>