Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
db_text: return a valid empty string for a null DB value
This prevents crashes in modules which do not check the null flag in the db result before using the string value (eg. doing strlen()). Fixes #2658
- Loading branch information
1 parent
69966d7
commit ddbec15
Showing
1 changed file
with
30 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters