|
What's the bug that you inadvertently created or encountered that remained undiscovered for the longest period of time?
Started by Hao Wooi Lim on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
How about this vulnerability that was left unpatched for 17 years: http://www.geek.com/articles/chips/17-year-old-unpatched-windows-vulnerability-discovered-20100120/
There was also the "drag-and-drop" vulnerability that allowed for remote code execution... .
|
|
What is the best comment in source code you have ever encountered?
Started by Thomas Bratt on
, 415 posts
by 389 people.
Answer Snippets (Read the full thread at stackoverflow):
Code you have ever encountered?"
A: Easy - the one that helped me solve whatever problem I was having.
|
|
What is the worst memory leak (effectwise) in C++ you have encountered?
Providing code too would be a bonus.. :-)
Started by Manish on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The code for a worst memory leak would not fit here as it would be part ... .
I would say the worst memory leak is one you absolutely MUST find because its causing undue memory consumption or fragmentation which may indirectly lead to consumed CPU cycles .
|
Ask your Facebook Friends
|
One of the most difficult test cases I have encountered is testing features that operates on files and folders. It is not easy to mock or simulate files and folders.
Answer Snippets (Read the full thread at stackoverflow):
My first round of testing tried to create a SynchronizationContext and wait on the thread until it returned the completed event, In my case the completed... .
I had a event model async class that handled and FTP call and did some work on the completed event .
|
|
Following this topic , what is the best (as in witty and/or funny) commit message you have ever encountered?
For example, here's the message for a commit I made a few minutes ago:
This change should have never been made. It kills little children.
NOTE...
Started by Can Berk Güder on
, 36 posts
by 36 people.
Answer Snippets (Read the full thread at stackoverflow):
HELP "
The best public one i've encountered is probably this xkcd reference in the OpenBSD tree.
|
|
What are the most frequently encountered causes for COM memory leaks? I have read that passing the address of an initialized CComBSTR to a function as an [out] parameter causes leak. I'm looking to enumerate other common programming mistakes like this...
Started by Julian on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
These objects....
In particular not using CComPtr<> , CComBSTR and CComVARIANT<>.
Failing to use RAII wrapper types for COM objects.
Use CComPtr<>, CComVARIANT<> and CComBSTR to help you.
Forgetting to call Release() when you should.
|
|
Is there a way (other than WerAddExcludedApplication which won't work in Windows XP) to disable the window "Application has encountered a problem and needs to close" from appearing when my application crashes?
(image taken from Bil Simser' blog )
I need...
Started by Krzysztof Koźmic on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
My suggestion is, instead of disabling this dialog, register with Microsoft so that you can see the error reports... .
You need to handle the Application.ThreadException and AppDomain.CurrentDomain.UnhandledException events.
Don't have unhandled exceptions.
|
|
Related to web pages / application, what is the worst web usability error you have encountered?
The one that hit you the most; that which arguably could trip the most users? Or, from another point of view, which error would you choose to be eliminated...
Started by Alejandro Atienza Ramos on
, 64 posts
by 59 people.
Answer Snippets (Read the full thread at stackoverflow):
In order to submit the form you.
I encountered a form that has some pretty heavy calculations going on.
The flash ads
The worst one I've encountered is when a page says 'Field X must be entered.
|
|
I'm going to the web front end of an Oracle Applications 10.7 website which requires that I install JInitiator 1.1.7.32. Upon reaching the end of the installation for JInitiator, I get a Microsoft error stating that "jrew.exe has encountered a problem...
Started by Mark on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
Here it is:
Close all Internet Explorer windows Open....
I finally figured out the fix for the JInitiator problem for version 1.1.7.32 .
You should try the replacement jvm.dll file which can be obtained from here , it seems to have worked for lots of folks .
|
|
This is a poll of sorts about common concurrency problems in Java. An example might be the classic deadlock or race condition or perhaps EDT threading bugs in Swing. I'm interested both in a breadth of possible issues but also in what issues are most ...
Started by Alex Miller on
, 44 posts
by 30 people.
Answer Snippets (Read the full thread at stackoverflow):
I encountered a concurrency encountered a deadlock also having to do with invoking methods....
encountered (probably because it comes up in normal single-threaded code important to actually call destroy() so your app can exit gracefully.
|