Files
poky/meta/recipes-devtools
Praveen Kumar 9ae3736eb4 go: fix CVE-2025-47907
Cancelling a query (e.g. by cancelling the context passed to one of
the query methods) during a call to the Scan method of the returned
Rows can result in unexpected results if other queries are being made
in parallel. This can result in a race condition that may overwrite
the expected results with those of another query, causing the call to
Scan to return either unexpected results from the other query or an
error.

Made below changes for Go 1.17 backport:
- Replaced `atomic.Pointer[error]` with `atomic.Value`, since
  atomic pointers are not supported in Go 1.17.
- Used errp.(*error) to retrieve and dereference
  the stored *error, Without this, build fails with:
  invalid indirect of errp (type interface{}).
- Replaced Go 1.18 `any` keyword with `interface{}` for backward
  compatibility with Go 1.17.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2025-47907

Upstream-patch:
8a924caaf3
298fe517a9
c23579f031

(From OE-Core rev: af9c43c39764ce9ce37785c44dfb83e25cb24703)

Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-10-03 09:51:17 -07:00
..
2023-08-26 04:24:02 -10:00
2025-08-04 06:40:00 -07:00
2023-10-05 15:48:49 -10:00
2024-09-16 06:09:56 -07:00
2021-11-25 21:55:10 +00:00
2022-03-16 10:31:40 +00:00
2025-08-29 08:33:33 -07:00
2025-03-04 08:46:02 -08:00
2022-03-16 13:39:12 +00:00
2023-09-08 16:09:41 -10:00
2025-02-05 06:54:35 -08:00
2025-09-08 08:27:11 -07:00
2021-11-03 10:12:42 +00:00
2022-03-24 17:45:29 +00:00
2025-10-03 09:51:17 -07:00
2023-10-05 15:48:49 -10:00
2022-05-25 22:45:50 +01:00
2022-03-23 12:13:49 +00:00
2022-03-11 06:56:01 +00:00
2022-05-25 22:45:50 +01:00
2022-12-01 19:35:05 +00:00
2022-03-20 00:02:22 +00:00
2023-09-08 16:09:41 -10:00
2024-12-02 06:23:20 -08:00
2025-07-30 07:47:48 -07:00
2023-12-22 16:36:55 -10:00
2023-03-23 22:45:33 +00:00
2025-08-18 13:18:01 -07:00
2025-08-29 08:33:33 -07:00
2022-03-02 18:43:24 +00:00
2025-01-24 07:49:28 -08:00
2025-07-30 07:47:48 -07:00
2024-10-12 05:17:57 -07:00
2025-07-18 08:32:26 -07:00