• San Mehat's avatar
    init: Fix heap corruption for services with arguments · c83cd879
    San Mehat authored
    
    
        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: default avatarSan Mehat <san@google.com>
    c83cd879
init.h 5.1 KB