[OpenSIPS-Devel] [OpenSIPS/opensips] 993385: db_text: fix issues when database file is missing ...
Liviu Chircu
liviu at opensips.org
Tue Aug 26 16:37:57 CEST 2014
Branch: refs/heads/1.11
Home: https://github.com/OpenSIPS/opensips
Commit: 993385ef5a04982f9283b98dfca885b41ab1c442
https://github.com/OpenSIPS/opensips/commit/993385ef5a04982f9283b98dfca885b41ab1c442
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