summaryrefslogtreecommitdiff
path: root/cgi-bin/var.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant codeAlfonso Gregory2021-09-071-1/+1
|
* Update Github repository to match macOS 11.2 CUPS sources (cups-494.1).Michael R Sweet2021-04-051-1/+1
|
* LGTM only supports C++ style comments...Michael R Sweet2019-11-191-1/+1
|
* Address multiple minor issues reported by the LGTM security scanner:Michael R Sweet2019-11-181-1/+1
| | | | | | | | - Lots of usage of localtime and gmtime (use _r/_s versions instead - Issue #5685) - Some unnecessary comparisons - Suppress checks that are not useful (header guards, short global names, and the integer overflow checks which don't reflect the actual range of values)
* SIGSEGV in CUPS web ui when adding a printerZdenek Dohnal2019-07-291-0/+3
|
* More clang warning fixes.Michael R Sweet2019-04-201-6/+24
|
* Clean out some more _cupsStr cruft that might potentially cause anMichael R Sweet2019-01-211-22/+20
| | | | | | unaligned memory access (Issue #5474) Don't directly use the string pool in the CGI programs or scheduler.
* CVE-2018-4700: Linux session cookies used a predictable random number seed.Michael R Sweet2018-12-071-1/+3
|
* Move debug printfs to internal usage only.Michael R Sweet2018-10-181-32/+0
| | | | Also, old MD5 code is internal-only.
* License change: Apache License, Version 2.0.Michael R Sweet2017-11-071-5/+1
|
* Support the latest HTTP Digest authentication specification (Issue #4862)Michael R Sweet2017-11-061-6/+2
| | | | | | | | | | | | | | | | | | | | | | | Also deprecates all httpMD5* functions. - cgi-bin/var.c: Use cupsHashData to compute SID hash. - cups/auth.c: Rewrite WWW-Authenticate parser to support multiple auth schemes and the new RFC 7616 version of HTTP Digest. - cups/cups.h: Add cupsHashString function to get a hex version of a hash. - cups/hash.c: Add MD5 support. - cups/http.c: Track WWW-Authenticate in a long string, concatenate new set values. - cups/http.h: Deprecate httpMD5* and recommend cupsDoAuth and cupsHash*. - cups/http-private.h: Pull MD5 stuff, nonce_count is unsigned, track WWW-Authenticate header as a potentially long string. - cups/http-support.c: Use cupsHashData to compute UUID hash. - cups/md5.c: Comment everything out if we have an OS-supplied MD5 hash function. - cups/md5passwd.c: Use cupsHash* functions. - cups/tls-*.c: Use cupsHash* functions. - cups/versioning.h: Add CUPS_API_2_3 definition. - scheduler/client.c: Update WWW-Authenticate header to include AuthRef, Local, and PeerCred schemes with parameters as needed.
* Fix source file header text duplication text duplication.Michael R Sweet2017-01-161-1/+1
| | | | Bump copyright to 2017 in web interface and README files.
* Remove all of the Subversion keywords from various source files.Michael R Sweet2016-04-111-7/+0
|
* Long cookies caused the web interface to stop working (STR #4619)msweet2015-05-061-6/+25
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12621 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix cookie handling for web interface.msweet2014-07-161-2/+2
| | | | | | | | | Allow access to auth certificates in the state directory. Remove client connection from select when all data has been read from client. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12034 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix build errors on Fedora.msweet2014-02-141-1/+1
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11594 a1ca3aef-8c08-0410-bb20-df032aa958be
* Full sweep of all Clang warnings, plus some bug fixes for incorrect memcpy ↵msweet2014-02-061-65/+36
| | | | | | usage. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11558 a1ca3aef-8c08-0410-bb20-df032aa958be
* Update svn:keyword properties.msweet2013-05-291-2/+2
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10996 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.6svn-r10390.msweet2012-03-301-0/+6
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3755 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.6svn-r9968.msweet2011-09-071-5/+5
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3411 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5b1-r9798.msweet2011-05-201-8/+8
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3275 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r9198.msweet2010-07-081-1/+4
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@2309 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r9049 (private header support)msweet2010-03-241-2/+1
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1992 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r9000.msweet2010-02-251-24/+249
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1912 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.5svn-r8916.msweet2009-12-091-9/+35
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1766 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.4svn-r8606.msweet2009-05-081-0/+12
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1480 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.4svn-r8394.msweet2009-02-251-4/+1
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1253 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.4svn-r8033.msweet2008-10-081-1/+1
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1003 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.4svn-r7696.msweet2008-06-271-2/+2
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@818 a1ca3aef-8c08-0410-bb20-df032aa958be
* Import CUPS 1.4svn-r7464.msweet2008-04-171-17/+12
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@713 a1ca3aef-8c08-0410-bb20-df032aa958be
* Import CUPS 1.4svn-r7226.msweet2008-01-171-10/+32
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@582 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.4svn-r7199.msweet2008-01-081-0/+4
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@577 a1ca3aef-8c08-0410-bb20-df032aa958be
* Load cups into easysw/current.jlovell2007-07-161-16/+7
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@342 a1ca3aef-8c08-0410-bb20-df032aa958be
* Load cups into easysw/current.jlovell2007-03-141-2/+2
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@279 a1ca3aef-8c08-0410-bb20-df032aa958be
* Load cups into easysw/current.jlovell2006-06-231-2/+2
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@185 a1ca3aef-8c08-0410-bb20-df032aa958be
* Remove svn:keywords since they cause svn_load_dirs.pl to complain about ↵jlovell2006-06-231-2/+2
| | | | | | every file. git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@183 a1ca3aef-8c08-0410-bb20-df032aa958be
* More svn:properties changes.jlovell2006-06-211-2/+2
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@177 a1ca3aef-8c08-0410-bb20-df032aa958be
* Load cups into easysw/current.jlovell2006-05-221-2/+2
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@161 a1ca3aef-8c08-0410-bb20-df032aa958be
* Load cups into easysw/current.jlovell2006-05-221-3/+4
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@158 a1ca3aef-8c08-0410-bb20-df032aa958be
* Load cups into easysw/current.jlovell2006-03-271-2/+8
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@103 a1ca3aef-8c08-0410-bb20-df032aa958be
* Load cups into easysw/current.jlovell2006-01-131-0/+1024
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@2 a1ca3aef-8c08-0410-bb20-df032aa958be