Package: android-tools-adb
Version: 4.1.1+git20120801-1
Severity: normal

Dear Maintainer,

thanks for packaging adb&fastboot.

However I noticed a file '/tmp/adb.log' is created by adb. This is
done in

    fd = unix_open("/tmp/adb.log", O_WRONLY | O_CREAT | O_APPEND, 0640);
    [ core/adb/adb.c:701 ]

In my opinion this is a dirty hack and not acceptable from a security
point of view, symlinks attacks and the like. At least, if two
different non-root users use adb, the second one is unable (EPERM) to
write that file, potentially missing information.

For the records, I am using a private wheezy backport of
android-tools. No changes were done to the sources.

Regards,
    Christoph

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.4.10 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages android-tools-adb depends on:
ii  libc6   2.13-35
ii  zlib1g  1:1.2.7.dfsg-13

android-tools-adb recommends no packages.

android-tools-adb suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to