[CMD][SECO_CONFIG] Fix accidental modification of environment variables
The strtok was directly called on the pointer returned from the uboot env function, which is directly giving access to the cached data. As strtok modifies the string it gets by inserting a \0 at the split, followup reads of the same variable get a different result (only the first element before the split. To fix this, the string is now duplicated before spliting.
parent
682bbfea
No related branches found
No related tags found
-
mentioned in commit clea-os/layers/seco/meta-seco-imx@afb54aa8
-
mentioned in commit clea-os/seco-manifest@3f9e867e
-
mentioned in commit clea-os/layers/seco/meta-seco-imx@cd118c72
-
mentioned in merge request clea-os/layers/seco/meta-seco-imx!444 (merged)
-
mentioned in commit clea-os/seco-manifest@135e49cd
-
mentioned in commit clea-os/layers/seco/meta-seco-imx@afdc2dd7
-
mentioned in merge request clea-os/layers/seco/meta-seco-imx!445 (merged)
-
mentioned in commit clea-os/seco-manifest@49a15a0e
-
mentioned in merge request clea-os/seco-manifest!679 (merged)
Please register or sign in to comment