On Tue, Jul 23, 2013 at 04:08:59PM +0800, Lv Zheng wrote: > This patch enhances sanity checks on message size to avoid potential buffer > overflow. > > The kernel IPMI message size is IPMI_MAX_MSG_LENGTH(272 bytes) while the > ACPI specification defined IPMI message size is 64 bytes. The difference > is not handled by the original codes. This may cause crash in the response > handling codes. > This patch fixes this gap and also combines rx_data/tx_data to use single > data/len pair since they need not be seperated. > > Signed-off-by: Lv Zheng <[email protected]> > Reviewed-by: Huang Ying <[email protected]> > --- > drivers/acpi/acpi_ipmi.c | 100 > ++++++++++++++++++++++++++++------------------ > 1 file changed, 61 insertions(+), 39 deletions(-)
<formletter> This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly. </formletter> Same goes for the other patches you sent in this thread... ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Openipmi-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openipmi-developer
