[ruby-oci8-commit] [485] trunk/ruby-oci8: fix a buffer overrun in oci8_cpool_initialize().

nobody at rubyforge.org nobody at rubyforge.org
Sun Dec 11 08:53:04 EST 2011


Revision: 485
Author:   kubo
Date:     2011-12-11 08:53:03 -0500 (Sun, 11 Dec 2011)

Log Message:
-----------
fix a buffer overrun in oci8_cpool_initialize().

Modified Paths:
--------------
    trunk/ruby-oci8/ChangeLog
    trunk/ruby-oci8/ext/oci8/connection_pool.c

Modified: trunk/ruby-oci8/ChangeLog
===================================================================
--- trunk/ruby-oci8/ChangeLog	2011-12-11 12:34:21 UTC (rev 484)
+++ trunk/ruby-oci8/ChangeLog	2011-12-11 13:53:03 UTC (rev 485)
@@ -1,4 +1,7 @@
 2011-12-11  KUBO Takehiro  <kubo at jiubao.org>
+	* ext/oci8/connection_pool.c: fix a buffer overrun in oci8_cpool_initialize().
+
+2011-12-11  KUBO Takehiro  <kubo at jiubao.org>
 	* NEWS: add changes between 2.0.6 and 2.1.0.
 	* README, test/README: rewritten.
 	* ext/oci8/connection_pool.c: add a note.

Modified: trunk/ruby-oci8/ext/oci8/connection_pool.c
===================================================================
--- trunk/ruby-oci8/ext/oci8/connection_pool.c	2011-12-11 12:34:21 UTC (rev 484)
+++ trunk/ruby-oci8/ext/oci8/connection_pool.c	2011-12-11 13:53:03 UTC (rev 485)
@@ -45,7 +45,7 @@
 static oci8_base_vtable_t oci8_cpool_vtable = {
     oci8_cpool_mark,
     oci8_cpool_free,
-    sizeof(oci8_base_t),
+    sizeof(oci8_cpool_t),
     oci8_cpool_init,
 };
 




More information about the ruby-oci8-commit mailing list