Bug#470506: signed-char bug fixes for srtp on arm and armel

Martin Guy martinwguy at yahoo.it
Tue Mar 11 17:39:39 UTC 2008


Package: srtp
Version: 1.4.4~dfsg-1
User: debian-arm at lists.debian.org
Usertags: eabi

There are 3 related bugs in the testsuite driver for srtp that make if
fail on architectures with unsigned characters, such as the arm
variants. The build failure is:

running libsrtp test applications...
crypto/test/cipher_driver -v >/dev/null
crypto/test/kernel_driver -v >/dev/null
test/rdbx_driver -v >/dev/null
make[1]: *** [runtest] Error 255

and test/rdbx_driver only ever says:

usage: test/rdbx_driver [ -t | -v ]

Because:

main (int argc, char *argv[]) {
  char q;

  /* process input arguments */
  while (1) {
    q = getopt_s(argc, argv, "tv");
    if (q == -1)
        break;

There is the same bug in test/srtp_driver.c and test/dtls_srtp_driver.c

Patch attached; also reported upstream:
http://sourceforge.net/tracker/index.php?func=detail&aid=1911854&group_id=38894&atid=423799

Don't upload this yet - a second bug fix is about to be filed fixing a
second bug on the arm variants.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: srtp-1.4.4~dfsg-1+ucharbugs.diff
Url: http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20080311/d8b5b354/attachment.txt 


More information about the Pkg-voip-maintainers mailing list