        } catch (error const & e) {
          throw_py_error(e);
          SWIG_fail;
+@@ -116430,7 +116441,7 @@
+       size_t size = strlen(name)+1;
+       gv->name = (char *)malloc(size);
+       if (gv->name) {
+-        strncpy(gv->name,name,size);
++        strcpy(gv->name,name);
+         gv->get_attr = get_attr;
+         gv->set_attr = set_attr;
+         gv->next = v->vars;

 
     // Access iterator method, required by Python
     virtual PyObject *value() const = 0;
@@ -33457,11 +33466,13 @@
   try {
     {
       try {

   sobj->next = next;
   Py_INCREF(next);
   return SWIG_Py_Void();
@@ -3749,6 +3753,7 @@

 
 #include <stdexcept>
+#include <cstddef>
 

 namespace swig {
@@ -3863,7 +3868,11 @@
     }
       
   public:
