Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-01-06 | fgetln may return incomplete lines (Tobias Stoeckmann <tobias@stoeckmann.org>) | Marc Espie | |
simple solution: error out. This is not a correct cddb answer anyways. | |||
2014-01-04 | Properly validate index value received from CDDB server. | Tobias Stoeckmann | |
ok deraadt@, millert@ | |||
2013-03-07 | fix atrocious code, do socket -> FILE* conversion correctly, with proper | Marc Espie | |
error handling. okay millert@, otto@ | |||
2011-04-06 | Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0' | Miod Vallat | |
for chars. | |||
2008-04-27 | o if no argument is passed to cddbinfo, treat it as 0 in order to print | Federico G. Schwindt | |
the list in case of multiple/inexact matches o if the argument to cddb is invalid, do not exit, just print and error and ignore the command espie@ ok. | |||
2007-09-10 | Make sure we don't skip the code which sends the QUIT command to the CDDB | Chad Loder | |
server and validates the returned track names. Unreachable code spotted by lint. OK krw@, deraadt@, espie@ | |||
2007-09-02 | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | Theo de Raadt | |
2007-05-01 | use strtonum; ok millert@ | Jason Dixon | |
2006-01-23 | Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELEN | Todd C. Miller | |
2006-01-17 | Fix malloc calculation to avoid memory bounds error. deraadt@ ok | Aaron Campbell | |
2005-11-12 | more asprintf; ok dhill@mindcry.org | Theo de Raadt | |
2003-06-09 | Protect all get_line calls against null pointers. | Marc Espie | |
Problem pointed out by Pedro Bastos, thanks Pedro. | |||
2003-03-13 | my style: length is size_t, not int. | Marc Espie | |
2003-03-13 | lots of sprintf -> snprintf and strcpy -> strlcpy; checked by tedu | Theo de Raadt | |
2002-12-14 | handle multiline replies from the server. | Marc Espie | |
this actually happens on the 3.2 audio CD. ok millert@ | |||
2002-04-18 | Reuse cddb code to support FreeBSD new cdid command. | Marc Espie | |
(who knows ? scripts might use it). ok fgs@, pval@ | |||
2002-04-18 | remove extra spaces, fix rcsid (noticed by millert) | Marc Espie | |
2002-04-18 | KNF | Theo de Raadt | |
2002-04-18 | Add cddb support. | Marc Espie | |