Bug 16199 - ndr_{push,pull,print}_{timeval,timespec} encode/decode the value twice
Summary: ndr_{push,pull,print}_{timeval,timespec} encode/decode the value twice
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: PIDL and libndr (show other bugs)
Version: 4.24.4
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba release manager
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-08-05 19:36 UTC by Stefan Metzmacher
Modified: 2026-08-13 14:32 UTC (History)
1 user (show)

See Also:


Attachments
Patch for v4-24-test (32.26 KB, text/plain)
2026-08-11 06:48 UTC, Stefan Metzmacher
no flags Details
Patch for v4-23-test (31.43 KB, text/plain)
2026-08-11 06:48 UTC, Stefan Metzmacher
slow: review+
Details
Patch for v4-24-test (31.43 KB, text/plain)
2026-08-11 06:52 UTC, Stefan Metzmacher
slow: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Metzmacher 2026-08-05 19:36:27 UTC
Scalar types should do nothing if called with NDR_BUFFERS otherwise
the value is encoded twice.
Comment 1 Samba QA Contact 2026-08-06 15:27:20 UTC
This bug was referenced in samba master:

270c2451b541d6457d17b5eeccaafd32636b4591
Comment 2 Stefan Metzmacher 2026-08-11 06:48:06 UTC
Created attachment 19163 [details]
Patch for v4-24-test
Comment 3 Stefan Metzmacher 2026-08-11 06:48:27 UTC
Created attachment 19164 [details]
Patch for v4-23-test
Comment 4 Stefan Metzmacher 2026-08-11 06:52:30 UTC
Created attachment 19165 [details]
Patch for v4-24-test
Comment 5 Samba QA Contact 2026-08-12 22:48:05 UTC
This bug was referenced in samba v4-24-test:

453e1622ad3b311310735bcb53c2e328962f84e1
Comment 6 Samba QA Contact 2026-08-13 14:32:06 UTC
This bug was referenced in samba v4-24-stable (Release samba-4.24.6):

453e1622ad3b311310735bcb53c2e328962f84e1