cipherdyne.org

Michael Rash, Security Researcher



Linux Kernel String Match Bugfix

I have finally gotten my name into the ChangeLog for the Linux Kernel by fixing an initialization bug in the kernel portion of the Netfilter string match extension. This fix appears in kernel version 2.6.18, and here is the ChangeLog entry:
commit 3ffaa8c7c0f884171a273cd2145b8fbbf233ba22
Author: Michael Rash <mbr@cipherdyne.org>
Date:   Tue Aug 22 00:45:22 2006 -0700

    [TEXTSEARCH]: Fix Boyer Moore initialization bug

    The pattern is set after trying to compute the prefix table, which
    tries to use it. Initialize it before calling compute_prefix_tbl,
    make compute_prefix_tbl consistently use only the data from struct
    ts_bm and remove the now unnecessary arguments.

    Signed-off-by: Michael Rash <mbr@cipherdyne.org>
    Signed-off-by: Patrick McHardy <kaber@trash.net>
    Signed-off-by: David S. Miller <davem@davemloft.net>