Whamcloud - gitweb
b=24170 checking len of debug string before matching
authorminhdiep <minhdiep@lts-head.co.cfs>
Thu, 18 Nov 2010 22:04:54 +0000 (15:04 -0700)
committerVitaly Fertman <vitaly.fertman@sun.com>
Thu, 18 Nov 2010 22:38:26 +0000 (01:38 +0300)
commit6f5ba31553a22f4db68ec8655fcf1a8147966f4f
treec709307181f5bb04c1d160895328a132127183e5
parentb59c628da398cf4cf2f002e56d70b3b7d261d5c9
b=24170 checking len of debug string before matching

i=vitaly
i=rahul

We need to check the len before matching the string
to prevent something like net matches neterror
libcfs/libcfs/libcfs_string.c