~sforshee/powerd/cleanup-cli

  • Committer: Seth Forshee
  • Date: 2014-03-03 20:37:22 UTC
  • Revision ID: seth.forshee@canonical.com-20140303203722-gtys3wqpbagnzuw8
powerd-cli: Fix display command argument processing

In the case that the first option to the display command was
not "on" it would mistakenly compare argv[2] against "dc". If
there is only one option to the command this is past the end
of argv and could cause a segfault.

Also add some missing spaces and fix the checking of the
return value from build_display_request().
Filename Latest Rev Last Changed Committer Comment Size
..
.bzr-builddeb 8.1.1 11 years ago Michael Zanetti fix licensing/packaging issues Diff
cli 12.2.1 10 years ago Matthew Fischer Making the test code into a general purpose CLI an Diff
cmake 9.1.16 10 years ago Matthew Fischer Added the gdbus-codegen call to cmake Diff
data 9.1.1 10 years ago Matthew Fischer initial code that talks on dbus Diff
debian 1.1.1 11 years ago Ricardo Salveti de Araujo debian: initial packaging Diff
libsuspend 9.2.1 10 years ago Seth Forshee Add and integrate suspend library Add a suspend l Diff
src 1 11 years ago mfrey at canonical Initial power daemon to handle power button events Diff
CMakeLists.txt 93.3.20 10 years ago Seth Forshee Merge with trunk Also fix up some dependencies an 2.7 KB Diff Download File
COPYING 8.1.1 11 years ago Michael Zanetti fix licensing/packaging issues 34.3 KB Diff Download File