summaryrefslogtreecommitdiff
path: root/usr.bin/cdio/cddb.c
AgeCommit message (Collapse)Author
2007-09-10Make sure we don't skip the code which sends the QUIT command to the CDDBChad Loder
server and validates the returned track names. Unreachable code spotted by lint. OK krw@, deraadt@, espie@
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
Problem pointed out by Pedro Bastos, thanks Pedro.
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
this actually happens on the 3.2 audio CD. ok millert@
2002-04-18Reuse cddb code to support FreeBSD new cdid command.Marc Espie
(who knows ? scripts might use it). ok fgs@, pval@
2002-04-18remove extra spaces, fix rcsid (noticed by millert)Marc Espie
2002-04-18KNFTheo de Raadt
2002-04-18Add cddb support.Marc Espie