• Michael Shigorin's avatar
    deflogin: GLOBAL_ROOTPW is always set · f2892ad3
    Michael Shigorin authored
    use/deflogin will result in ROOTPW being exported no matter
    is it set or not; xport() can't check before exporting as it
    relies on lazy evaluation when the actual ROOTPW value can be
    set or modified after exporting GLOBAL_ROOTPW for mkimage.
    
    So let's not even pretent we can differ unset ROOTPW from
    empty ROOTPW: both result in empty GLOBAL_ROOTPW as of today.
    
    Fixing this would require moving the exports into a separate
    makefile being included after all the configuration and checking
    each variable for being defined before exporting the corresponding
    GLOBAL_ prefixed one.
    
    Yes this might be a security fix in some cases.
    f2892ad3
Name
Last commit
Last update
.gear Loading commit data...
bin Loading commit data...
conf.d Loading commit data...
doc Loading commit data...
features.in Loading commit data...
image.in Loading commit data...
lib Loading commit data...
pkg.in Loading commit data...
sub.in Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
QUICKSTART Loading commit data...
README Loading commit data...
main.mk Loading commit data...
reports.mk Loading commit data...