diff options
| author | Alison Wang <[email protected]> | 2015-05-11 15:39:47 +0800 |
|---|---|---|
| committer | York Sun <[email protected]> | 2015-07-20 11:44:38 -0700 |
| commit | 49a5e42a780dadf69fcac177143b0c8619ec467b (patch) | |
| tree | 31a5b03518161aa33f9a39c473118a2aff4be5fc /scripts | |
| parent | 97421bd2c010479504947a80b18f79d0485d6eb4 (diff) | |
arm: ls1021a: Remove the inappropriate use of the function 'sprintf'
As the function 'sprintf' does not check buffer boundaries but outputs
to the buffer 'enet' of fixed size (16), this patch removes the function
'sprintf', and uses 'strcpy' instead. It will assign the character
arrays 'enet' and 'phy' the corresponding character strings.
Signed-off-by: Alison Wang <[email protected]>
Reviewed-by: Joe Hershberger <[email protected]>
Reviewed-by: York Sun <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
