<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/xback/package/utils, branch master</title>
<subtitle>Staging tree of Koen Vandeputte</subtitle>
<id>https://git.openwrt.org/openwrt/staging/xback/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/xback/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/'/>
<updated>2026-06-24T09:21:28Z</updated>
<entry>
<title>netifd: dhcp: add restart command for clean lease re-acquire</title>
<updated>2026-06-24T09:21:28Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2026-06-17T08:44:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=b8175a021b6029f2b1aaf3d766cd645c5c47a8ff'/>
<id>urn:sha1:b8175a021b6029f2b1aaf3d766cd645c5c47a8ff</id>
<content type='text'>
Add a proto_dhcp_restart() handler that re-acquires the DHCP lease via a
single ubus call, releasing the previous lease and triggering a fresh
DHCPDISCOVER without bouncing the interface.

The re-acquire is implemented by sending SIGHUP to udhcpc, which releases
the current lease (if any) and immediately transitions the state machine
to INIT_SELECTING so the next main-loop iteration sends a fresh
DHCPDISCOVER. A single signal thus expresses 'release this lease and get
a new one' without exiting the client, so upstream watchdogs (e.g. a
DNS-health monitor) can request a clean re-lease without tearing down the
interface.

Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>busybox: enable timeout utility by default</title>
<updated>2026-06-24T09:21:28Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2026-01-23T07:42:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=87f5376eb7fd60173e0a0b7f0f48334d5a255677'/>
<id>urn:sha1:87f5376eb7fd60173e0a0b7f0f48334d5a255677</id>
<content type='text'>
Small cost, but can be of use for non-interactive scripts.

Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>util-linux: update to 2.42.2</title>
<updated>2026-06-24T00:14:33Z</updated>
<author>
<name>Thomas Weißschuh</name>
</author>
<published>2026-06-17T08:42:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=11865bffc8cc680e3729b7bf5280ce90a695acdd'/>
<id>urn:sha1:11865bffc8cc680e3729b7bf5280ce90a695acdd</id>
<content type='text'>
Release notes:
https://www.kernel.org/pub/linux/utils/util-linux/v2.42/v2.42.2-ReleaseNotes

Signed-off-by: Thomas Weißschuh &lt;thomas@t-8ch.de&gt;
Link: https://github.com/openwrt/openwrt/pull/23844
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>fritz-tools: fix out-of-bounds memset in TFFS segment expansion</title>
<updated>2026-06-15T22:51:53Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2026-06-12T23:17:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=7e7bd602ea8967858267c2a6929f4dbaffe90839'/>
<id>urn:sha1:7e7bd602ea8967858267c2a6929f4dbaffe90839</id>
<content type='text'>
When growing the segment array in find_entry(), the memset() that zeroes
the newly allocated slots computed the destination with redundant sizeof
scaling:

  memset(segments + (num_segments * sizeof(struct tffs_entry_segment)), ...)

segments is a typed pointer, so pointer arithmetic already scales by the
element size. Multiplying the offset by sizeof again advances the
destination by num_segments * sizeof^2 bytes, landing far outside the
realloc()'d buffer and zeroing unrelated heap memory whenever a TFFS
entry spans multiple segments that require array expansion.

Drop the redundant multiplication so the memset targets segments[num_segments].

This is a robustness fix for malformed/corrupt TFFS content; the parser
only reads the on-device nand-tffs MTD partition as root, so it is not
considered security relevant.

Reported-by: @Vasco0x4
Assisted-by: Claude:claude-opus-4-8
Link: https://github.com/openwrt/openwrt/pull/23763
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>busybox: fix signal handling in non-interactive envirement</title>
<updated>2026-06-14T09:51:50Z</updated>
<author>
<name>Seo Suchan</name>
</author>
<published>2026-06-14T04:07:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=24662e811e44337d27470ed020f3e04ccb4233a4'/>
<id>urn:sha1:24662e811e44337d27470ed020f3e04ccb4233a4</id>
<content type='text'>
fixes  https://github.com/openwrt/openwrt/issues/23745

upstream had bug bb_got_signal to be never cleared in noninteractive session, this fixes this while waiting for upstream merge.

the patch iself is written by  Ian Cooper &lt;iancooper@hotmail.com&gt;

Signed-off-by: Seo Suchan &lt;tjtncks@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/23787
Signed-off-by: Jonas Jelonek &lt;jelonek.jonas@gmail.com&gt;
</content>
</entry>
<entry>
<title>nvram: use strdup</title>
<updated>2026-06-11T08:33:00Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2026-02-23T02:06:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=f079f0252b510371b6a325308e9b9de8961fc23d'/>
<id>urn:sha1:f079f0252b510371b6a325308e9b9de8961fc23d</id>
<content type='text'>
No need for malloc + strcpy.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/22370
Signed-off-by: Jonas Jelonek &lt;jelonek.jonas@gmail.com&gt;
</content>
</entry>
<entry>
<title>nvram: move variable assignment out of if</title>
<updated>2026-06-11T08:33:00Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2026-02-22T21:08:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=113d3edce05b51e36990bbfd0c93f2b28505e9e5'/>
<id>urn:sha1:113d3edce05b51e36990bbfd0c93f2b28505e9e5</id>
<content type='text'>
More readable.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/22370
Signed-off-by: Jonas Jelonek &lt;jelonek.jonas@gmail.com&gt;
</content>
</entry>
<entry>
<title>nvram: use flex array</title>
<updated>2026-06-11T08:32:59Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2026-02-11T02:10:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=55d146432fa8c962765e6dc272ef06cafb8d5414'/>
<id>urn:sha1:55d146432fa8c962765e6dc272ef06cafb8d5414</id>
<content type='text'>
Clarifies that the struct needs to be over allocated.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/22370
Signed-off-by: Jonas Jelonek &lt;jelonek.jonas@gmail.com&gt;
</content>
</entry>
<entry>
<title>nilfs-utils: update to 2.3.0</title>
<updated>2026-06-03T11:46:09Z</updated>
<author>
<name>Pavlo Samko</name>
</author>
<published>2026-02-08T14:46:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=84f4f779204a3de631670fee69141188b56e4976'/>
<id>urn:sha1:84f4f779204a3de631670fee69141188b56e4976</id>
<content type='text'>
Changelog: https://nilfs.sourceforge.io/download/ChangeLog-utils-v2

Signed-off-by: Pavlo Samko &lt;bulldozerbsg@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/21932
Signed-off-by: Jonas Jelonek &lt;jelonek.jonas@gmail.com&gt;
</content>
</entry>
<entry>
<title>ucode: update to Git HEAD (2026-06-03)</title>
<updated>2026-06-03T11:13:17Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2026-06-03T10:55:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=76e6216c8aaff4750ec082b902c22bbf86b9a623'/>
<id>urn:sha1:76e6216c8aaff4750ec082b902c22bbf86b9a623</id>
<content type='text'>
1ac496a91a30 math: min and max
4c917958038d math: clamp
c6404b6af75c math: sign functions
597b17d0edea math: copysign
9747c8bbfa27 math: floor
933b11802060 math: ceil
46581cf13149 math: round
4aee92d5aa89 math: trunc
c8f71433a3d6 math: log functions
840aa6e61196 math: Infinity handling note
990558c2a027 math: isinf
c3e76e45fdad math: tan
08c6ef98fa2f math: acos, asin, atan
21a0f37d4c7c math: cosh, sinh, tanh
28ec6e4466b5 math: cbrt, hypot
fb2fc094875c math: expm1, log1p
1a911dbc72b0 math: jsdoc fixes
7b3b15dc7d25 math: add double/int output toggle flag to floor/ceil/round/trunc
7424c3bd14e0 make: improve make (install) on macOS
965d76557dee types: release previous prototype reference in ucv_prototype_set
b702323ec137 uloop: unregister task output fd from uloop before closing it
106b1179765a uloop: clear resource values when releasing callback resources
acc70db934fc ubus: clear resource values when releasing connection/object resources
9d7ade9e4c68 ubus: prevent UAF when channel disconnect_cb triggers re-entrant disconnect

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
</feed>
