Page MenuHomeFreeBSD

Fix recursive variable substitution in jail.conf
ClosedPublic

Authored by hrs on Jul 7 2015, 6:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 9:37 AM
Unknown Object (File)
Nov 20 2024, 9:27 AM
Unknown Object (File)
Sep 24 2024, 5:28 PM
Unknown Object (File)
Sep 19 2024, 2:21 AM
Unknown Object (File)
Sep 17 2024, 5:44 PM
Unknown Object (File)
Sep 17 2024, 3:32 AM
Unknown Object (File)
Sep 16 2024, 10:59 AM
Unknown Object (File)
Sep 11 2024, 10:45 PM
Subscribers

Details

Summary

As reported in PR 189139, variable substitution is broken when
A="A_${B}_C_${D}", B="BBBBB", D="DDDD_${E}_FFFFF", and E="EEEEE" are
defined.

This patch fixes the offset length calculation.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

hrs retitled this revision from to Fix recursive variable substitution in jail.conf.
hrs updated this object.
hrs edited the test plan for this revision. (Show Details)
hrs added a reviewer: jamie.
This revision was automatically updated to reflect the committed changes.