]> git.ipfire.org Git - thirdparty/shadow.git/commit
Do not crash in commonio_close if database FILE not opened. 157/head
authorTomas Mraz <tmraz@fedoraproject.org>
Mon, 25 Mar 2019 13:51:26 +0000 (14:51 +0100)
committerTomas Mraz <tmraz@fedoraproject.org>
Mon, 25 Mar 2019 13:51:26 +0000 (14:51 +0100)
commitd6276066ddd3a1cb0ae923dd0da9921466d40d03
tree05247824fa1ae88ad48c2a0af88ca135f7b47122
parentd2e1e9ce8561898d3494f0d7a23c50d8153b479a
Do not crash in commonio_close if database FILE not opened.

The db->fp can be NULL if commonio_unlock() is called when the
shadow file is opened but did not exist before.
lib/commonio.c