Bug 14993 - authsam_make_user_info_dc() steals memory from its struct ldb_message *msg argument
Summary: authsam_make_user_info_dc() steals memory from its struct ldb_message *msg ar...
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.15.5
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Jule Anger
QA Contact: Samba QA Contact
URL:
Keywords:
: 14994 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-03-01 08:06 UTC by Stefan Metzmacher
Modified: 2022-04-04 12:50 UTC (History)
3 users (show)

See Also:


Attachments
Patch for v4-15-test (2.25 KB, patch)
2022-03-02 08:12 UTC, Stefan Metzmacher
abartlet: review+
Details
Patch for v4-14-test (2.25 KB, patch)
2022-03-02 08:12 UTC, Stefan Metzmacher
abartlet: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Metzmacher 2022-03-01 08:06:45 UTC
This is most likely not a problem for the current callers,
but that it is unexpected and will likely cause problems with future changes.
Comment 1 Andrew Bartlett 2022-03-01 09:52:21 UTC
*** Bug 14994 has been marked as a duplicate of this bug. ***
Comment 2 Samba QA Contact 2022-03-01 18:25:14 UTC
This bug was referenced in samba master:

f6fe86924c2ca756083d3628d5dbace0b12d06b0
Comment 3 Stefan Metzmacher 2022-03-02 08:12:12 UTC
Created attachment 17182 [details]
Patch for v4-15-test
Comment 4 Stefan Metzmacher 2022-03-02 08:12:35 UTC
Created attachment 17183 [details]
Patch for v4-14-test
Comment 5 Stefan Metzmacher 2022-03-02 08:13:04 UTC
Note 4.16 is handled via https://bugzilla.samba.org/show_bug.cgi?id=14995
Comment 6 Andrew Bartlett 2022-03-02 09:35:37 UTC
Assigning to Jule for Samba 4.15.next and 4.14.next
Comment 7 Jule Anger 2022-03-02 10:03:46 UTC
Pushed to autobuild-v4-{15,14}-test.
Comment 8 Samba QA Contact 2022-03-02 11:25:04 UTC
This bug was referenced in samba v4-16-test:

b668c076722745c060ba7b1c5e4b2c9342452fe2
Comment 9 Samba QA Contact 2022-03-02 11:25:33 UTC
This bug was referenced in samba v4-14-test:

c2a3c17da9ffb90afa09fe7b881ed1859c35481c
Comment 10 Samba QA Contact 2022-03-02 12:55:25 UTC
This bug was referenced in samba v4-15-test:

e19d287cef39d137124295331243c019bd56438f
Comment 11 Jule Anger 2022-03-02 13:47:42 UTC
Closing out bug report.

Thanks!
Comment 12 Samba QA Contact 2022-03-08 14:57:41 UTC
This bug was referenced in samba v4-16-stable (Release samba-4.16.0rc5):

b668c076722745c060ba7b1c5e4b2c9342452fe2
Comment 13 Samba QA Contact 2022-03-15 13:26:45 UTC
This bug was referenced in samba v4-15-stable (Release samba-4.15.6):

e19d287cef39d137124295331243c019bd56438f
Comment 14 Samba QA Contact 2022-04-04 12:50:12 UTC
This bug was referenced in samba v4-14-stable (Release samba-4.14.13):

c2a3c17da9ffb90afa09fe7b881ed1859c35481c