json: Add guard in create_keylist_patterns
authorAndre Heinecke <aheinecke@intevation.de>
Fri, 25 May 2018 12:50:20 +0000 (14:50 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Fri, 25 May 2018 12:50:20 +0000 (14:50 +0200)
commit10683b1a913c39238c9871f5aa607334f32467f7
treee37964964433a4b2d29770110cd5b4240e898cb6
parent1ff16dad595946af140b324fad2bceca7ddbc378
json: Add guard in create_keylist_patterns

* src/gpgme-json.c (create_keylist_patterns): Guard against
a string ending with a linbreak.
src/gpgme-json.c