Age | Commit message (Collapse) | Author |
|
Only do this if struct nfsm_info doesn't have local scope.
In some cases the caller would perfrom another m_freem and double free
the mbuf and Bad Things(TM) would happen.
Reported by Claes M Nyberg on bugs@; with & ok miod@
|
|
flabbergasted by the abuse from fuse.
For whatever dumb reason fuse uses the ufs inode instead of having its
own much simpler struct. Again this is a workaround to not crash when
fuse is used.
OK beck@
|
|
Also, switch to S_IS*() tests and update the manpage
to reflect that POSIX-2024 has no substantive changes
for wc(1)
ok op@ millert@
|
|
|
|
what it was intended to test.
The intention was to test that src/bin/ps/utf8.c handles embedded NUL bytes
correctly, just as the other tests in the same group test the handling of
various other non-printable characters. But testing that does not work
for multiple reasons. Neither does the shell pass the NUL byte to the
called test program as intended, nor can argv[] in a C program contain
a NUL byte in the middle of an argument, simply because in the C language,
a string is defined to end at the first NUL byte. On top of all that,
even the function mbswprint() that was supposed to be tested terminates
the processing of the multi-byte input string as soon as it encounters
a NUL byte (all of which is correct behaviour).
So this particular subtest was totally bogus and only worked by accident,
for reasons completely unrelated to the intended purpose. I don't think
the test needs to be replaced by anything else. NUL bytes in the middle
of a program argument just aren't a thing in the first place.
Thanks to deraadt@ for asking what the purpose of this test_ps() call was.
|
|
consider as not tragic enough to abort the operation, in order to batch error
replies.
This would end up invoking nfs_namei() using an uninitialized variable as
length, and Bad Things(TM) would happen.
Reported by Claes M Nyberg on bugs@; tweaks & ok claudio@
|
|
|
|
ok job
|
|
prompted by a question by jmc
|
|
Use %zu to print mbuf MHLEN and MLEN in ddb, otherwise gcc complains.
found by claudio@
|
|
not handle that. So for now add an ugly hack here to support ext2fs.
This fixes access to ext2fs after the last commit. A better fix can be
implemented in tree.
Reported and OK anton@
|
|
Again malloc(0) is not portable and calling memcpy with a NULL pointer
and a 0 length is not allowed by the C standard.
OK tb@
|
|
Calling malloc / reallocarray with a 0 size is not portable and the
memcpy with a possible NULL pointer as source and 0 len is seen as UB
by newer C standards (grmbl).
OK tb@
|
|
OK tb@
|
|
An announce PDU requires at least one provider ASnum while a withdraw
must not include any provider ASnums. The first is mandated by the ASPA
profile and the 2nd by the 8210bis draft.
Further cleanup some leftovers from the old per-AFI split of ASPA.
OK tb@
|
|
extra security measures of recallocarray() which adds a lot of overhead.
OK tb@
|
|
which is iBGP so we can test both CLUSTER_LIST behaviours.
|
|
|
|
|
|
from markus
|
|
Just drop the attribute if received from an external peer.
Treat as withdraw if the len is 0 or not % 4.
OK tb@
|
|
imsg_get_data() does the same and produces the same error.
OK tb@
|
|
|
|
OK tb@
|
|
Command "ddb> show /c mbuf" always prints mbuf data size. In
uipc_mbuf.c include db_interface.h as it contains prototype for
m_print_chain().
OK mvs@
|
|
From Alex Hung
e3a95f29647ae45d1ec9541cd7df64f40bf2120a in linux-6.6.y/6.6.50
c4d31653c03b90e51515b1380115d1aedad925dd in mainline linux
|
|
From Alex Hung
e50bec62acaeec03afc6fa5dfb2426e52d049cf5 in linux-6.6.y/6.6.50
8b0ddf19cca2a352b2a7e01d99d3ba949a99c84c in mainline linux
|
|
From Wenjing Liu
67cf14c04ff0ea5c246f80ea3a044c2afb93c99d in linux-6.6.y/6.6.50
abf34ca465f5cd182b07701d3f3d369c0fc04723 in mainline linux
|
|
From Wayne Lin
800a5ab673c4a61ca220cce177386723d91bdb37 in linux-6.6.y/6.6.50
ad28d7c3d989fc5689581664653879d664da76f0 in mainline linux
|
|
From winstang
154a50bf4221a6a6ccf88d565b8184da7c40a2dd in linux-6.6.y/6.6.50
26c56049cc4f1705b498df013949427692a4b0d5 in mainline linux
|
|
From Nicholas Kazlauskas
da696cbb47941c40b01cc10ea5504dc5a4ebac6e in linux-6.6.y/6.6.50
b5236da757adc75d7e52c69bdc233d29249a0d0c in mainline linux
|
|
From Yunxiang Li
381113ef01e28282f5f5a3267584b075427529f0 in linux-6.6.y/6.6.50
d225960c2330e102370815367b877baaf8bb8b5d in mainline linux
|
|
From Yunxiang Li
ddfe95f2e1fcefeb9ab70476753e1fd0a083f59b in linux-6.6.y/6.6.50
18f2525d31401e5142db95ff3a6ec0f4147be818 in mainline linux
|
|
From Yunxiang Li
494b42f35fc2a858941757dbbf5619f6ff405562 in linux-6.6.y/6.6.50
b3948ad1ac582f560e1f3aeaecf384619921c48d in mainline linux
|
|
From Jesse Zhang
54a11ce4ff2a01fc2a231c546a864883633d2b97 in linux-6.6.y/6.6.50
c09d2eff81a997c169e0cacacd6b60c5e3aa33f2 in mainline linux
|
|
From Tao Zhou
0798e4330b5404c547e236c07a5a06309d0a2980 in linux-6.6.y/6.6.50
2aadb520bfacec12527effce3566f8df55e5d08e in mainline linux
|
|
From Xiaogang Chen
cdc65b5f99988f9679908cdc5204dd183260bed9 in linux-6.6.y/6.6.50
f326d7cc745683f53052b84382bd10567b45cd5d in mainline linux
|
|
From Jesse Zhang
7e8d106ca98aac5ba4fc8816e64fea994ab83d54 in linux-6.6.y/6.6.50
f76059fe14395b37ba8d997eb0381b1b9e80a939 in mainline linux
|
|
From Jesse Zhang
7d265772e44d403071a2b573eac0db60250b1c21 in linux-6.6.y/6.6.50
d190b459b2a4304307c3468ed97477b808381011 in mainline linux
|
|
From Jesse Zhang
025798f44b8d19c33d48ff85aa5c172dc6576d47 in linux-6.6.y/6.6.50
a3ac9d1c9751f00026c2d98b802ec8a98626c3ed in mainline linux
|
|
From Jesse Zhang
d0230b37206888c49df41639551802dce27fa26e in linux-6.6.y/6.6.50
0ce8ef2639c112ae203c985b758389e378630aac in mainline linux
|
|
From Jesse Zhang
4ab720b6aa1ef5e71db1e534b5b45c80ac4ec58a in linux-6.6.y/6.6.50
1940708ccf5aff76de4e0b399f99267c93a89193 in mainline linux
|
|
From Jesse Zhang
0aad97bf6d0bc7a34a19f266b0b9fb2861efe64c in linux-6.6.y/6.6.50
b1f7810b05d1950350ac2e06992982974343e441 in mainline linux
|
|
From Jesse Zhang
d116bb921e8b104f45d1f30a473ea99ef4262b9a in linux-6.6.y/6.6.50
1a00f2ac82d6bc6689388c7edcd2a4bd82664f3c in mainline linux
|
|
From Ma Jun
58350786dbbddfb5ffcbb0ef976b5c9fef5870bc in linux-6.6.y/6.6.50
df0a9bd92fbbd3fcafcb2bce6463c9228a3e6868 in mainline linux
|
|
kfd_topology_device
From Michael Chen
f163ba83e607f9fa71a342d37af5aeb83752ccdb in linux-6.6.y/6.6.50
10f624ef239bd136cdcc5bbc626157a57b938a31 in mainline linux
|
|
From Tim Huang
d0a43bf367ed640e527e8ef3d53aac1e71f80114 in linux-6.6.y/6.6.50
51dfc0a4d609fe700750a62f41447f01b8c9ea50 in mainline linux
|
|
From Tim Huang
f2b7a9f3839e92f43559b2795b34640ca8cf839f in linux-6.6.y/6.6.50
8944acd0f9db33e17f387fdc75d33bb473d7936f in mainline linux
|
|
From Ma Jun
f9267972490f9fcffe146e79828e97acc0da588c in linux-6.6.y/6.6.50
d768394fa99467bcf2703bde74ddc96eeb0b71fa in mainline linux
|
|
From Lin.Cao
e6ea3b8fe398915338147fe54dd2db8155fdafd8 in linux-6.6.y/6.6.50
547033b593063eb85bfdf9b25a5f1b8fd1911be2 in mainline linux
|