Author: timbo
Date: Mon Nov 19 15:00:40 2012
New Revision: 15477

Modified:
   dbi/trunk/Changes
   dbi/trunk/DBI.xs

Log:
Added extra internal handle type check, RT#79952

Modified: dbi/trunk/Changes
==============================================================================
--- dbi/trunk/Changes   (original)
+++ dbi/trunk/Changes   Mon Nov 19 15:00:40 2012
@@ -20,10 +20,11 @@
   Corrected a spelling error thanks to Chris Sanders.
 
   Added logic to force destruction of children before parents
-    during global destruction. Currently experimental.
-
+    during global destruction. Re RT#75614.
   Added new tests to 08keeperr for RT#64330
-   thanks to Kenichi Ishigaki.
+    thanks to Kenichi Ishigaki.
+  Added extra internal handle type check, RT#79952
+    thanks to Reini Urban.
 
   Removed internal _not_impl method (Martin J. Evans).
 

Modified: dbi/trunk/DBI.xs
==============================================================================
--- dbi/trunk/DBI.xs    (original)
+++ dbi/trunk/DBI.xs    Mon Nov 19 15:00:40 2012
@@ -1494,6 +1494,8 @@
             break;
         }
     }
+    else 
+        die("panic: invalid DBIc_TYPE");
 
     /* Use DBI magic on inner handle to carry handle attributes         */
     /* Note that we store the imp_sv in mg_obj, but as a shortcut,      */

Reply via email to