Fix backend crash if a .policy file does not specify <message>
authorMartin Pitt <martin.pitt@ubuntu.com>
Wed, 29 Jun 2011 20:53:33 +0000 (21:53 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Wed, 29 Jun 2011 20:53:33 +0000 (21:53 +0100)
commit675e4337d7f83ffaf9612cadf7f365c545c51243
tree1c048e5d38e328c65f1813386a6836d6ff1e232b
parent7c5905255763e75ca6350c6b9eac2cbd62558756
Fix backend crash if a .policy file does not specify <message>

get_localized_data_for_challenge() would call expand_properties() with a NULL
"message" argument, causing a segfault.
src/polkitbackend/polkitbackendinteractiveauthority.c