diff options
author | San Mehat <san@google.com> | 2009-05-14 14:54:22 -0700 |
---|---|---|
committer | San Mehat <san@google.com> | 2009-05-14 15:08:04 -0700 |
commit | c83cd879d45e667fbb4763f18c908928ee9d67d8 (patch) | |
tree | 938b1fa73b95efdf25325ab5a93dc744c7235e98 /libsysutils/src | |
parent | 54a1eb7677a10c1591ba48562ae480cd71721bf6 (diff) | |
download | core-c83cd879d45e667fbb4763f18c908928ee9d67d8.tar.gz core-c83cd879d45e667fbb4763f18c908928ee9d67d8.tar.bz2 core-c83cd879d45e667fbb4763f18c908928ee9d67d8.zip |
init: Fix heap corruption for services with arguments
The 'args' array *must* be the last entry in the structure.
This fixes a longstanding issue (apparently since tc3) where
a service with an argument would corrupt the heap. The more
arguments, the more corruption :|. This will probably also end up
making key-code bound services more reliable (ie: bugreports triggered
via the keyboard)
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'libsysutils/src')
0 files changed, 0 insertions, 0 deletions