[U-Boot] FW: getenv coverity issue

Niv Shetrit Niv.Shetrit at altair-semi.com
Mon Aug 26 09:41:21 UTC 2019


The function has been renamed, but the code was not changed. It is now located here:
https://gitlab.denx.de/u-boot/u-boot/blob/master/cmd/nvedit.c
Thanks!

From: Niv Shetrit
Sent: Sunday, August 25, 2019 6:44 PM
To: denx (info at denx.de) <info at denx.de>
Subject: getenv coverity issue

Hi
I was wondering if this is an issue:
Whenever strtoul is called, *cp is passed an an index to the _ctype array.
I know it is a native linux function, however shouldn't there be an external check before passing cp as an argument?
Thanks

________________________________

Important Notice: This email message and any attachments thereto are confidential and/or privileged and/or subject to privacy laws and are intended only for use by the addressee(s) named above. If you are not the intended addressee, you are hereby kindly notified that any dissemination, distribution, copying or use of this email and any attachments thereto is strictly prohibited. If you have received this email in error, kindly delete it from your computer system and notify us at the telephone number or email address appearing above. The writer asserts in respect of this message and attachments all rights for confidentiality, privilege or privacy to the fullest extent permitted by law.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ulong.png
Type: image/png
Size: 23160 bytes
Desc: ulong.png
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190826/10f66eef/attachment.png>


More information about the U-Boot mailing list