View Issue Details

IDProjectCategoryView StatusLast Update
0001043XdebugUncategorizedpublic2014-05-19 23:37
Reporterremi Assigned To 
PrioritynormalSeverityminorReproducibilityunable to reproduce
Status resolvedResolutionunable to reproduce 
PlatformGNU/LinuxOSFedoraOS Version20
Product Version2.2.4 
Summary0001043: Possible null deref
Description

In fetch_zval_from_symbol_table

Bug report https://bugzilla.redhat.com/show_bug.cgi?id=1081000
Backtrace https://bugzilla.redhat.com/attachment.cgi?id=878990

Steps To Reproduce

?

Additional Information

A trivial fix could be:

if (ht && zend_hash_find(ht, element, element_length + 1, (void *) &retval_pp) == SUCCESS) {
if (retval_pp) {
retval_p =
retval_pp;
}
goto cleanup;
}

But I don't enough about XDebug internals and if this is revelant.
Else, corrupted value in retval_pp could show some memory corruption.

TagsNo tags attached.
Operating System
PHP Version5.5.5-5.5.9

Activities

derick

2014-05-19 23:37

administrator   ~0002829

Sorry, but I can't see how that situation can be reached. I can't reproduce it and your linked reports have no reproducible script either. I'm afraid I'll have to close it unless there is more information.