Questions tagged [secure-scl]

3 questions
11
votes
4 answers

Secure paperclip urls only for secure pages

I'm trying to find the best way to make paperclip urls secure, but only for secure pages. For instance, the homepage, which shows images stored in S3, is http://mydomain.com and the image url is…
Shagymoe
  • 1,296
  • 1
  • 15
  • 22
7
votes
1 answer

and #define __STDC_WANT_SECURE_LIB__ 0 results in error C2039: 'sprintf_s'

When building this very simple test program #include int main() { std::cout << "x"; } with visual studio 2019 and /Wall I'm getting a warning C4668: '__STDC_WANT_SECURE_LIB__' is not defined as a preprocessor macro, replacing with…
jesses
  • 559
  • 3
  • 15
0
votes
4 answers

Timing related crash when unloading a DLL?

I know I'm reaching for straws here, but this one is a mystery... any pointers or help would be most welcome, so I'm appealing to those more intelligent than I: We have a crash exhibited in our release binaries only. The crash takes place as the…
fbrereto
  • 35,429
  • 19
  • 126
  • 178