[OpenSIPS-Devel] [OpenSIPS/opensips] a2172b: db_text: fix issues when database file is missing ...
Liviu Chircu
liviu at opensips.org
Tue Aug 26 16:36:41 CEST 2014
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: a2172b256fd19aa56b352665a9d598d6a91b36a3
https://github.com/OpenSIPS/opensips/commit/a2172b256fd19aa56b352665a9d598d6a91b36a3
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
More information about the Devel
mailing list