| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/; revision=30369
|
|
|
|
|
|
| |
cast is 'safe'
svn path=/trunk/; revision=29458
|
|
|
|
|
|
| |
Thanks to Martin for reporting this.
svn path=/trunk/; revision=29451
|
|
|
|
| |
svn path=/trunk/; revision=29430
|
|
|
|
|
|
|
|
|
|
| |
The exception throwing code in except.c/h should be annotated with
"noreturn" to indicate that they never return. Running static analysis
on Wireshark without this annotation causes a lot of false positives
since these analyzers assume that the exception handling code are
ordinary functions that will eventually return.
svn path=/trunk/; revision=29246
|
|
|
|
| |
svn path=/trunk/; revision=23768
|
|
|
|
| |
svn path=/trunk/; revision=23766
|
|
|
|
|
|
|
|
| |
preserves the call stack of the bug making debugging much easier.
This can't be done in every error throwing case, as e.g. throwing a ReportedBoundsError might happen a lot even if no bugs are involved. Anyway, extending this to other errors can be done manually while debugging.
svn path=/trunk/; revision=17072
|
|
|
|
| |
svn path=/trunk/; revision=16017
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
message not be const (as we generate messages with "g_strdup_sprintf()",
which means they need to be freed; using a null message means that we
don't have to use a special string for exceptions with no message, and
don't have to worry about not freeing that).
Have THROW() throw an exception with a null message pointer. (This
means that you crash if you throw DissectorError with THROW(). Don't do
that - it means you don't get a more detailed explanation of the
dissector problem. Use the DISSECTOR_ASSERT, etc. macros in
epan/proto.h instead.)
Free the exception message for DissectorError, as it's mallocated.
svn path=/trunk/; revision=15250
|
|
|
|
| |
svn path=/trunk/; revision=12857
|
|
|
|
| |
svn path=/trunk/; revision=12849
|
|
|
|
|
|
|
|
|
| |
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on
Windows, not on UN*X.
svn path=/trunk/; revision=11400
|
|
|
|
|
|
|
| |
winapi_cleanup tool written by Patrik Stridvall for the wine
project.
svn path=/trunk/; revision=6116
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Defect number: 0011
Date: Jul 26 2001
Releases of Kazlib affected: 1.10 through 1.19
Status: Fixed in 1.20
Modules affected: except.c
Description: Members of the except_t structure needed to be declared
volatile because the structure is automatically allocated in the
except macro, modified after a setjmp() takes place, and accessed
after control returns via longjmp.
Solution: Upgrade to 1.20 or backpatch the fix.
svn path=/trunk/; revision=3793
|
|
svn path=/trunk/; revision=2458
|