summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2013-04-18 20:32:05 +0200
committerMiloslav Trmač <mitr@redhat.com>2013-05-06 20:05:27 +0200
commit18f9d2608b145a3cc39e88b3e8aa74c742d47190 (patch)
tree5597f1ff8627c732d1eabbc0ff913461d8dff7c9 /data
parent8085a29c67c4a6e1f58f8975e0f7426d09d0fa99 (diff)
downloadpolkit-18f9d2608b145a3cc39e88b3e8aa74c742d47190.tar.gz
Refuse non-string parameters to Polkit.spawn()
Using integers or floating-point numbers could have resulted in a crash. Use JSVAL_IS_STRING() instead of implicit conversion through JS_ValueToString(); hopefully this will nudge the rule writer toward thinking more about the string conversion and the format of the resulting string. https://bugs.freedesktop.org/show_bug.cgi?id=63575
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions