diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-10-07 17:31:24 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-10-07 17:31:24 +0000 |
commit | 6e22c154c872145a8d73951975458005bddbfc59 (patch) | |
tree | 26642d3b8b9cf5b199fe847ce8218209ebc5ac86 /zebra-model.lua | |
parent | 8e208afe45bd9d4f9a76c1e818142dc69a371afd (diff) | |
download | acf-quagga-6e22c154c872145a8d73951975458005bddbfc59.tar.bz2 acf-quagga-6e22c154c872145a8d73951975458005bddbfc59.tar.xz |
Modified modelfunctions library to include validation in get/setfiledetails. Modified all uses to validate the file name - this was a major security hole.
git-svn-id: svn://svn.alpinelinux.org/acf/quagga/trunk@1542 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'zebra-model.lua')
-rw-r--r-- | zebra-model.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/zebra-model.lua b/zebra-model.lua index 1b9b8b9..170d545 100644 --- a/zebra-model.lua +++ b/zebra-model.lua @@ -72,8 +72,7 @@ function getconfigfile() end function setconfigfile(filedetails) - filedetails.value.filename.value = configfile - return modelfunctions.setfiledetails(filedetails) + return modelfunctions.setfiledetails(filedetails, {configfile}) end function getdetails() |