[389-devel] Please review: [389 Project] #47707: 389 DS Server crashes and dies while handles paged searches from clients

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://fedorahosted.org/389/ticket/47707

https://fedorahosted.org/389/attachment/ticket/47707/0001-Ticket-47707-389-DS-Server-crashes-and-dies-while-ha.patch

 Bug Description: If a simple paged search request was sent to the server
 and the request was abandoned, the paged result slot in the connection
 table was not properly released by setting NULL to pr_current_be.  Since
 the slot did not look available for the next request even though it was,
 the next request failed to get the valid slot number, and the initial slot
 number -1 failed to be replaced with the real slot number.  Until the fix
 for "Ticket #47623 fix memleak caused by 47347" was made, it overrode the
 allocated array's [-1] location, which usually stores the meta data of the
 allocated memory.  That crashed the server in the next realloc since the
 corrupted memory was passed to the function.

 Fix Description: This patch cleans up the abandoned/cleaned up slot for
 reuse.  Also, more check not to break the meta data is added.

 Special thanks to German Parente (gparente@xxxxxxxxxx) for providing the
 reproducer and analysing the crash.


--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel





[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux