[Bug 8486] New: networking/httpd.c - invalid operands to binary expression

bugzilla at busybox.net bugzilla at busybox.net
Sat Nov 28 13:07:54 UTC 2015


           Summary: networking/httpd.c - invalid operands to binary
           Product: Busybox
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: larissanadja at gmail.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0

By analyzing the BusyBox source code, our tool points to possible
inconsistencies that we would like to check with you.

Package: busybox
Commit: a6ed6a3
File: networking/httpd.c

Problem description: We found a code snippet where a binary operation may have
invalid operands ('int' and 'char *'). We think this case might throw
compilation errors when the macro ENABLE_FEATURE_HTTPD_BASIC_AUTH is enabled.

Code line: 1880

Code snippet:
remoteuser = xstrndup(user_and_passwd,

strchrnul(user_and_passwd, ':') - user_and_passwd


Thanks in advance.

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the busybox-cvs mailing list