summaryrefslogtreecommitdiff
path: root/usr.bin/cdio/cddb.c
AgeCommit message (Expand)Author
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'Miod Vallat
2008-04-27o if no argument is passed to cddbinfo, treat it as 0 in order to printFederico G. Schwindt
2007-09-10Make sure we don't skip the code which sends the QUIT command to the CDDBChad Loder
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-01use strtonum; ok millert@Jason Dixon
2006-01-23Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELENTodd C. Miller
2006-01-17Fix malloc calculation to avoid memory bounds error. deraadt@ okAaron Campbell
2005-11-12more asprintf; ok dhill@mindcry.orgTheo de Raadt
2003-06-09Protect all get_line calls against null pointers.Marc Espie
2003-03-13my style: length is size_t, not int.Marc Espie
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2002-12-14handle multiline replies from the server.Marc Espie
2002-04-18Reuse cddb code to support FreeBSD new cdid command.Marc Espie
2002-04-18remove extra spaces, fix rcsid (noticed by millert)Marc Espie
2002-04-18KNFTheo de Raadt
2002-04-18Add cddb support.Marc Espie