[SSSD] [PATCH] sudo responder: change num_rules type from size_t to uint32_t

Jakub Hrozek jhrozek at redhat.com
Tue Jan 22 17:09:07 UTC 2013


On Tue, Jan 22, 2013 at 02:58:49PM +0100, Pavel Březina wrote:

> From 3cc92951425436ed087a8ceee716b1b01d21ca65 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina at redhat.com>
> Date: Tue, 22 Jan 2013 14:31:37 +0100
> Subject: [PATCH] sudo responder: change num_rules type from size_t to
>  uint32_t
> 
> https://fedorahosted.org/sssd/ticket/1779
> 
> 2^32 should be enough to store sudo rules. size_t type was causing
> troubles on big endian architectures, because it wasn't used
> correctly in combination with D-Bus.

Ack.

Nikolai confirmed off-list that the patch fixed the issue for him on
both Big-Endian and Little-Endian architectures.



More information about the sssd-devel mailing list