You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
577 B
15 lines
577 B
Index: libiodbc2-3.52.7/iodbcinst/inifile.c
|
|
===================================================================
|
|
--- libiodbc2-3.52.7.orig/iodbcinst/inifile.c 2010-06-26 21:29:43.000000000 +0200
|
|
+++ libiodbc2-3.52.7/iodbcinst/inifile.c 2010-06-26 21:30:07.000000000 +0200
|
|
@@ -1023,7 +1023,8 @@
|
|
|
|
if (!_iodbcdm_cfg_find (pCfg, lpszSection, NULL))
|
|
{
|
|
- while (curr < cbRetBuffer && 0 == _iodbcdm_cfg_nextentry (pCfg))
|
|
+ while (curr < cbRetBuffer && 0 == _iodbcdm_cfg_nextentry (pCfg)
|
|
+ && pCfg->section)
|
|
{
|
|
if (_iodbcdm_cfg_section (pCfg))
|
|
break;
|