Package: libpisock-dev
Version: 0.12.2-10
Severity: important
Tags: patch

there is a 64-bit bug in pi-md5.h  .  In particular, UINT32 is defined
as "unsigned long".  That is true on a 32-bit system, but not on a
64-bit system.  Changing 

#define UINT32 unsigned long

to

#define UINT32 unsigned int

solves this problem and also works on 32-bit system.  Unfortunately,
this probably doesn't work on 16-bit system (which, however, are much
less common...).  I don't know the "RIGHT" way of doing this of the top
of my head, unfortunately.

At any rate, this is important, since it makes  jpilot  incapable of
showing "private" records, as pi-md5.h is used for computing the md5
password hash.  Please consider applying the above change to make this
usable on the vast majority of systems.  Or feel free to make a better
change.

Thanks,
  Martin



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libpisock-dev depends on:
ii  libbluetooth-dev [libblue 3.20-1         Development files for using the Bl
ii  libncurses5-dev [libncurs 5.6+20071013-1 Developer's libraries and docs for
ii  libpisock9                0.12.2-10      library for communicating with a P
ii  libpisync0                0.12.2-10      synchronization library for PalmOS
ii  libusb-dev                2:0.1.12-7     userspace USB programming library 

libpisock-dev recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to