summaryrefslogtreecommitdiff
path: root/usr.bin/cdio/cddb.c
AgeCommit message (Expand)Author
2020-06-26Switch cdio's default CDDB database to gnudb.gnudb.org:8880.Christian Weisgerber
2017-12-07Let it compile again.Kenneth R Westerback
2017-12-06be consistent in where we call fflushMarc Espie
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-01-06fgetln may return incomplete lines (Tobias Stoeckmann <tobias@stoeckmann.org>)Marc Espie
2014-01-04Properly validate index value received from CDDB server.Tobias Stoeckmann
2013-03-07fix atrocious code, do socket -> FILE* conversion correctly, with properMarc Espie
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