* miscfuncs.cc (__import_address): On second thought, the chance that this
pointer could be NULL is very low so don't bother checking for it.
This commit is contained in:
parent
df37bdc5b7
commit
0e8c8b0093
@ -1,3 +1,8 @@
|
||||
2013-01-23 Christopher Faylor <me.cygwin2013@cgf.cx>
|
||||
|
||||
* miscfuncs.cc (__import_address): On second thought, the chance that
|
||||
this pointer could be NULL is very low so don't bother checking for it.
|
||||
|
||||
2013-01-23 Christopher Faylor <me.cygwin2013@cgf.cx>
|
||||
|
||||
* exceptions.cc (exception::handle): Make attempt to recursively dump
|
||||
|
@ -437,7 +437,7 @@ slashify (const char *src, char *dst, bool trailing_slash_p)
|
||||
void * __reg1
|
||||
__import_address (void *imp)
|
||||
{
|
||||
if (!imp || *((uint16_t *) imp) != 0x25ff)
|
||||
if (*((uint16_t *) imp) != 0x25ff)
|
||||
return NULL;
|
||||
myfault efault;
|
||||
if (efault.faulted ())
|
||||
|
Loading…
x
Reference in New Issue
Block a user