Package: apt-build
Severity: serious
Tags: patch

apt-build segfaults when using make_options
This appears to be due to a typo in config.c (line 141)
if(args.make_options &&
        strlen(args.options) &&
        (str = strtok(args.options, " ")))
{

The code appears to check the validity of the wrong pointer, and should
be...

if(args.options &&
        strlen(args.options) &&
        (str = strtok(args.options, " ")))
{

This fixes the seg-fault problem
                        

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-reiser4-fbsplash-swsuspend
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)


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

Reply via email to