[U-Boot] FW: getenv coverity issue
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:
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
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?
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...
Size: 23160 bytes
More information about the U-Boot