diff mbox series

[meta-networking,5/5] tgt: Upgrade 1.0.98 -> 1.0.99

Message ID 20261203075218.3404567-6-khem.raj@oss.qualcomm.com
State New
Headers show
Series Recipe upgrades for meta-networking | expand

Commit Message

Khem Raj Dec. 3, 2026, 7:52 a.m. UTC
- iscsi: Reject an Extended CDB AHS with a zero length, which led to a
  negative length used in memmove() and heap corruption.
- sbc, ssc: Do not write the mode sense header past the input buffer;
  a MODE SENSE with allocation length 0 crashed tgtd.
- ssc: Implement tell and seek for tapes and tidy up the LOCATE and
  READ POSITION handlers.

Add tag=v${PV} to SRC_URI and an UPSTREAM_CHECK_GITTAGREGEX matching
the vX.Y.Z release tags.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../recipes-extended/tgt/{tgt_1.0.98.bb => tgt_1.0.99.bb}   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-extended/tgt/{tgt_1.0.98.bb => tgt_1.0.99.bb} (95%)
diff mbox series

Patch

diff --git a/meta-networking/recipes-extended/tgt/tgt_1.0.98.bb b/meta-networking/recipes-extended/tgt/tgt_1.0.99.bb
similarity index 95%
rename from meta-networking/recipes-extended/tgt/tgt_1.0.98.bb
rename to meta-networking/recipes-extended/tgt/tgt_1.0.99.bb
index c4ceb6a76a..689e9a0c83 100644
--- a/meta-networking/recipes-extended/tgt/tgt_1.0.98.bb
+++ b/meta-networking/recipes-extended/tgt/tgt_1.0.99.bb
@@ -4,9 +4,11 @@  LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://scripts/tgtd.spec;beginline=7;endline=7;md5=21c19ea7dad04648b9c2f791b6e29b4c"
 DEPENDS = "sg3-utils libaio"
 
-SRCREV = "4922507af70c65e4c6e35489f1651f841d01ebaf"
+SRCREV = "1741756aa244834bb67ddf2e7882f165d27b2d5c"
 
-SRC_URI = "git://github.com/fujita/tgt.git;branch=master;protocol=https \
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
+
+SRC_URI = "git://github.com/fujita/tgt.git;branch=master;protocol=https;tag=v${PV} \
 	      file://0001-Correct-the-path-of-header-files-check-in-Yocto-buil.patch \
         file://0001-usr-Makefile-WARNING-fix.patch \
         file://usr-Makefile-apply-LDFLAGS-to-all-executables.patch \