diff options
author | anton <anton@cvs.openbsd.org> | 2018-07-08 13:18:45 +0000 |
---|---|---|
committer | anton <anton@cvs.openbsd.org> | 2018-07-08 13:18:45 +0000 |
commit | cf2945989e84ebfed7d93abcfbe46904b54d84d2 (patch) | |
tree | 7fa34fd577aa953143124ca98150c3507a718ab9 /lib/librpcsvc/spray.x | |
parent | 7e00b5c7ff36928c70da7a480135d202584a78db (diff) |
Fix a bug related to variable expansion referencing multiple read-only
variables; such as positional arguments. Since global() returns a pointer to
static storage for read-only variables, the memory pointed to needs to be copied
to prevent any subsequent call to global() to override the previously accessed
variable.
Bug reported by Andreas Kusalananda Kähäri on bugs@
ok benno@ jca@ tb@
Diffstat (limited to 'lib/librpcsvc/spray.x')
0 files changed, 0 insertions, 0 deletions