[OpenSIPS-Devel] [OpenSIPS/opensips] e27d79: db_text: fix issues when database file is missing ...

Liviu Chircu liviu at opensips.org
Tue Aug 26 16:39:07 CEST 2014


  Branch: refs/heads/1.8
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e27d798dafb50ff105ba02d2deef71d467833b3e
      https://github.com/OpenSIPS/opensips/commit/e27d798dafb50ff105ba02d2deef71d467833b3e
  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