kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #16426
Re: [PATCH] two minor fixes
Le 16/01/2015 08:14, Mark Roszko a écrit :
> First patch fixes the Save library file as dialog which had the library
> extension instead of library extension wildcard used.
>
> Second patch fixes a null termination in eeschema/cross-probing.cpp. The
> char array line is in block scope and is never preinitialized to all 0s.
> There's also no guarantee for strncpy to actually copy null if size of
> bytes to read == buffer size passed. We need to set the last byte of line
> to NULL after strncpy as insurance.
Committed. Thanks.
--
Jean-Pierre CHARRAS
References