[OpenSIPS-Devel] [OpenSIPS/opensips] a50060: db_text: fix issues when database file is missing ...
Liviu Chircu
liviu at opensips.org
Tue Aug 26 16:38:37 CEST 2014
Branch: refs/heads/1.10
Home: https://github.com/OpenSIPS/opensips
Commit: a50060fc95094468bbe9c5d721373b36ae90942d
https://github.com/OpenSIPS/opensips/commit/a50060fc95094468bbe9c5d721373b36ae90942d
Author: Liviu Chircu <liviu at opensips.org>
Date: 2014-08-26 (Tue, 26 Aug 2014)
Changed paths:
M modules/db_text/dbt_file.c
Log Message:
-----------
db_text: fix issues when database file is missing an ending newline
* do not crash if file contains columns only and is missing the ending newline
* do not skip the last row of a database file if it lacks an ending newline
Reported by gergelypeli on GitHub
Closes issue #308
(cherry picked from commit a2172b256fd19aa56b352665a9d598d6a91b36a3)
More information about the Devel
mailing list