]> granicus.if.org Git - sudo/commit
Don't try to fflush(export_fp) or ferror(export_fp) if export_fp
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 16 May 2016 20:16:08 +0000 (14:16 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 16 May 2016 20:16:08 +0000 (14:16 -0600)
commiteb4510597bed7344f39bed2c37b02b11df33e7c1
treeb3d8ec64f43c18e0af8420025f93db5bda084593
parenta2e541aef8f39eb746e3e5ed605f42a8481ca87f
Don't try to fflush(export_fp) or ferror(export_fp) if export_fp
is NULL, which can happen on the error path.
plugins/sudoers/visudo_json.c