• Do not allow raw request length longer than the PDU size plus
    the additional requested slave address byte.
    Without this check modbus_send_raw_request could be used to
    trigger a buffer overflow on the stack since the parameter
    is passed unchecked to memcpy.
    
    Thanks to Hanno Neuer for spotting this security flaw.
    
    Signed-off-by: Michael Heimpold <mhei@heimpold.de>
    Michael Heimpold authored
     
    Browse File »

  • This replaces the lengthy license text headers with a short
    and standardized license tag. See http://spdx.org for details.
    
    This is useful e.g. for license compliance tools which scan
    through files and generate a report of the licenses used
    in a project.
    
    Signed-off-by: Michael Heimpold <mhei@heimpold.de>
    Michael Heimpold authored
     
    Browse File »