[ofa-general] Re: [PATCHv2] osm: source and destination strings overlap when using sprintf()

Hal Rosenstock halr at voltaire.com
Wed Apr 25 07:55:25 PDT 2007


On Wed, 2007-04-25 at 08:10, Yevgeny Kliteynik wrote:
> Hi Hal,
> 
> [V2] - Fixing a problematic usage of sprintf() in osm_helper.c:
> 
> When using sprintf(), source and destination strings should
> not overlap, otherwise the function behavior is undefined.
> 
> Please apply to ofed_1_2 and to master.
> 
> Thanks.
> 
> -- Yevgeny
> 
> Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>

Thanks. Applied (to both master and ofed_1_2).

-- Hal




More information about the general mailing list