[389-devel] Please review: [389 Project] #47659: ldbm_usn_init: Valgrind reports Invalid read / SIGSEGV

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

 



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

https://fedorahosted.org/389/attachment/ticket/47659/0001-Ticket-47659-ldbm_usn_init-Valgrind-reports-Invalid-.patch

 Bug description: A suffix mapping tree could exist without the
 corresponding
 backend.  The existing code did not properly check the backend returned
 from
 slapi_mapping_tree_find_backend_for_sdn.  When NULL backend is returned,
 it
 triggers the NULL pointer dereference.

 Fix description: This patch added a NULL backend check to
 usn_get_last_usn,
 and moved a logging to the if clause where the backend is not NULL.


--
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