[tbb-bugs] #29013 [Applications/Tor Browser]: Provide stack smashing protection for mingw-clang builds

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Sep 29 19:43:22 UTC 2019


#29013: Provide stack smashing protection for mingw-clang builds
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:  tbb-
                                                 |  team
     Type:  enhancement                          |         Status:  new
 Priority:  High                                 |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-rbm, GeorgKoppen201908,          |  Actual Points:
  TorBrowserTeam201909, tbb-9.0-must-alpha       |
Parent ID:  #30322                               |         Points:  1
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by gk):

 Replying to [comment:23 gk]:
 > Replying to [comment:21 gk]:
 > > I guess what we can do, instead of building libssp with `build-
 libssp.sh` in a separate step, is to just use the static libraries we
 build for `mingw-w64` anyway.
 >
 > That approach is not working very well it seems. I used my `bug_29013`
 branch for `tor-browser` and `bug_29013_v2` for `tor-browser-build`.
 >
 > First of all for some reason we need the *.dll as well in the Browser
 dir (I thought ssp got statically linked in) but copying it over results
 in crashes both on 32bit and 64bit versions during start-up.
 >
 > More digging is needed here.

 Using the `llvm-mingw` approach results in the same problems. I guess I
 need to look closer in a debugger what's crashing here. Might help to
 solve #31546 first, though.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29013#comment:25>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tbb-bugs mailing list