From: Arlin Davis Date: Wed, 19 May 2010 22:17:58 +0000 (-0700) Subject: dapltest: server info devicename is not large enough for dapl_name storage X-Git-Tag: dapl-2.0.30-1~18 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=d947e05317fe7fef19c90f772ec8f458ff52b196;p=~ardavis%2Fdapl.git dapltest: server info devicename is not large enough for dapl_name storage Server info device name is a 80 char array but the dapl device name that is copied is 256 bytes. Increase started_server.devicename definition. Chalk one up for windows SDK OACR (auto code review). Signed-off-by: Sean Hefty --- diff --git a/test/dapltest/include/dapl_server_info.h b/test/dapltest/include/dapl_server_info.h index de038c5..898f9cc 100644 --- a/test/dapltest/include/dapl_server_info.h +++ b/test/dapltest/include/dapl_server_info.h @@ -37,7 +37,7 @@ struct started_server { - char devicename[80]; + char devicename[256]; struct started_server *next; };