|
Is using of threads dangerous? If yes, why? How can I use threads safely?
Started by masoud ramezani on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Using an awful lot - sharing immutable data is significantly... .
If yes, why?
You need carelessly is dangerous - particularly as it's easy to end up with code which "works for me".
Is using of threads dangerous?
It depends on how you are using them.
|
|
How dangerous is it to interrupt an fsck?
Has anyone had any direct experience doing this?
Started by Runcible on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at serverfault):
%s for device %s exited with signal %d.
Actually, I can offer some assurance: strings /sbin/fsck | grep sig reports:
sigaction Warning.. .
I don't have any direct knowledge or evidence, but to me, it would just be plain EVIL to not handle SIGINT .
|
|
When I try to compile C code that uses the gets function, I get a warning: warning: the gets function is dangerous and should not be used.
I remember this has to do something with stack protection and security, but I'm not sure. Can someone help me with...
Started by vinit dhatrak on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Instead of using gets , you want to....
You will only know that if you know exactly what data you will be reading .
In order to use gets safely, you have to know exactly how many characters that you will be reading so you can make your buffer large enough .
|
Ask your Facebook Friends
|
We are running multiple Sitecore websites and just got feedback that it might be dangerous to have stacktraces available to users of the website when getting errors. Will the website be alot more vulnarable to hackers now that people get stacktraces?
Started by Younes on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Would show that user is stored in the session)
only the stack trace is usally not that dangerous.
|
|
Hello!
How can I suppress following warning from gcc linker:
warning: the use of mktemp' is dangerous, better use mkstemp'
I do know that it's better to use mkstemp() but for some reason I have to use mktemp() function.
Started by Konstantin on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Why do you have to use mktemp ?
If you are statically linking the runtime, then the other option is... .
If you have to use mktemp then there is not anything you can do to suppress that warning short of removing the section that uses mktemp from libc.so.6 .
|
|
My co-workers (who worked with the company longer than I have) loves to remove their laptop's power cord when they need to move around the office.
I frown on this practice since they usually don't remove the power brick from the power socket. I've told...
Started by MrValdez on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at superuser):
Can I flip...) Is it the energy waste? (~1....
Dangerous - probably not, except as a trip hazard.
This around and ask why you think it is dangerous?
Is it the danger of it bursting into flames it remain warm even when not connected.
|
|
I am trying to configure my wireless router to block domains that are potentially dangerous to privacy, security, and bandwidth-hogs. Is there a list of domains that I can block at the router level? On a machine level, I have set the hosts file from www...
Started by Dalia on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
I'd also recommend WOT, Web Of Trust , which is a community project to warn you about potential dangerous....
Also setting the DNS in the router about dangerous sides.
Reference I second nik, OpenDNS is already blocking dangerous sides.
|
|
I like to force a policy of no warnings when I check someone's code. Any warnings that appear have to be explicitly documented as sometimes it's not easy to remove some warnings or might require too many cycles or memory etc.
But there is a down-side ...
Started by Makis on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Well, there's the obvious way - disabling a specific warning for parts of the code:
#pragma warning( disable : 4507 34 )
EDIT: As has been pointed out in the comments, it is sometimes necessary to use in cases where you know that the warnings are OK (... .
|
|
Hello.
i want to use the functionality of www.stopbadwares.com and implement it in my web app using php.
so i can pass a url and check if it's contains badwares or it's dangerous for use.
is there an api, or class, or something to do that ? or even if...
Started by Tom on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Google offers the Safe Browsing API for access to their data, which they also make available to us through our... .
From their site:
To be clear, we do not have a public API for access to our data .
To clarify, this isn't StopBadware's data.
Yes, there is.
|
|
Is it dangerous to have your admin interface in a Django app accessible by using just a plain old admin url? For security should it be hidden under an obfuscated url that is like a 64 bit unique uuid?
Also, if you create such an obfuscated link to your...
Started by MikeN on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
People may see the page.
Assuming you've picked a good password, no, it's not dangerous.
|