ma1 pushed to branch maint-13.0 at The Tor Project / Applications / tor-browser-build

Commits:

2 changed files:

Changes:

  • projects/browser/RelativeLink/start-browser
    ... ... @@ -257,6 +257,20 @@ fi
    257 257
     HOME="${PWD}"
    
    258 258
     export HOME
    
    259 259
     
    
    260
    +# Prevent disk leaks in $HOME/.local/share (tor-browser#17560)
    
    261
    +local_dir="$HOME/.local/"
    
    262
    +share_dir="$local_dir/share"
    
    263
    +if [ -d "$share_dir" ]; then
    
    264
    +    ( srm -r "$share_dir" ||
    
    265
    +      wipe -r "$share_dir" ||
    
    266
    +      find "$share_dir" -type f -exec shred -u {} \; ;
    
    267
    +      rm -rf "$share_dir"
    
    268
    +    ) > /dev/null 2>&1
    
    269
    +else
    
    270
    +    mkdir -p "$local_dir"
    
    271
    +fi
    
    272
    +ln -fs /dev/null "$share_dir"
    
    273
    +
    
    260 274
     [% IF c("var/tor-browser") -%]
    
    261 275
     SYSARCHITECTURE=$(getconf LONG_BIT)
    
    262 276
     TORARCHITECTURE=$(expr "$(file TorBrowser/Tor/tor)" : '.*ELF \([[:digit:]]*\)')
    

  • projects/browser/gtk3-settings.ini
    1 1
     [Settings]
    
    2 2
     gtk-primary-button-warps-slider = false
    
    3
    +gtk-recent-files-max-age=0
    
    4
    +gtk-recent-files-limit=0