[389-devel] Please review: [389 Project] #47435: Very large entryusn values after enabling the USN plugin and the lastusn value is negative.

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

 



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

https://fedorahosted.org/389/attachment/ticket/47435/0001-Ticket-47435-Very-large-entryusn-values-after-enabli.patch

 1. Bug description: The initial value of lastusn is -1, but since
 the entryusn has the unsigned long long integer type, the server
 returns 18446744073709551615 == 0XFFFFFFFFFFFFFFFF.

 Fix description: The initial value "-1" is returned as it is.

 2. Bug description: Entryusn syntax is defined as an integer in
 the schema.  If negative values are accidentally stored in the
 entryusn value in the database, it was casted to the unsigned
 integer in the entryusn initialization code (usn_get_last_usn).

 Fix description: When an entryusn value is retrieved from the
 database, it's checked as a singed integer once and if it is
 negative, it's replaced with the initial value "-1".


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