summaryrefslogtreecommitdiffstats
path: root/src/windows/build/bkw.pl
diff options
context:
space:
mode:
authorJeffrey Altman <jaltman@secure-endpoints.com>2007-04-25 22:55:58 +0000
committerJeffrey Altman <jaltman@secure-endpoints.com>2007-04-25 22:55:58 +0000
commit25ea5b495029ee066548f6d6c1006c0f938cb9aa (patch)
tree2073ad0f7e5475f536e7040429fb87b64b95ba61 /src/windows/build/bkw.pl
parent220799ba475ec8044fedf544c15fab34d090b3a1 (diff)
downloadkrb5-25ea5b495029ee066548f6d6c1006c0f938cb9aa.tar.gz
krb5-25ea5b495029ee066548f6d6c1006c0f938cb9aa.tar.xz
krb5-25ea5b495029ee066548f6d6c1006c0f938cb9aa.zip
profile stores empty string values without double quotes
prof_parse.c (need_double_quotes): The profile library will happily read in right hand values that represent the empty string by parsing "". However, when storing the same empty string back to a file, the empty string is written without the double quotes. This means that [section] foo = "" becomes [section] foo = which is invalid input. A subsequent attempt to parse the profile will result in an invalid input error. KFW and KFM's realm editors can inadvertently produce an invalid krb5 profile if one of the ignored sections of the input profile contains a right hand value that is "". This patch was produced by Asanka Herath and it was reviewed by jaltman and lxs. ticket: new tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19529 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/build/bkw.pl')
0 files changed, 0 insertions, 0 deletions