Commit Graph

2466 Commits

Author SHA1 Message Date
rocky
2e34115075 Add checks for memory allocation failures. Patch from Mandriva folks by
Gustavo De Nardin via Vincent Danen. Originally for libcdio 0.78.2

See also https://savannah.gnu.org/patch/?6413
2008-02-08 08:53:32 +00:00
rocky
599b88fd14 Cast to integer because function it seems really might not be
paranoia_mode_t but seems augmented by to additional values below 0. Ugh.
2008-01-19 02:08:27 +00:00
rocky
3dc7116859 email address change. 2008-01-18 14:59:44 +00:00
rocky
50108ffa33 Was accessing out of array bounds. Caught by Stanislav Brabec. 2008-01-09 04:27:16 +00:00
rocky
1f8a5f9d54 cd-info.c iso-info.c More error-tolerant patch from Stanislav Brabec
at SuSE.

 iso9660.hpp: patch to compile libcdio with gcc 4.3 from
Cristian Rodriguez via Stanislav Brabec. Add return statement in
function returning non-void.

mmc-tool.c: remove out-of-bound array access.
2008-01-09 04:26:23 +00:00
rocky
b6868ddc8f Note that iso9660_dir_to_name can return NULL if memory allocation fails. 2008-01-05 12:12:52 +00:00
rocky
f8f896cc29 Another case of potentially accessing outside of array bounds. Bug caught by Nico Golde. 2008-01-05 09:54:31 +00:00
rocky
27012a3603 Improper +1 on alloc. 2008-01-03 14:39:29 +00:00
flameeyes
209f1d3358 Add a configure option to disable examples building (useful for distributions, as adding them to noinst will still build them during make all wasting build time. 2008-01-01 03:14:17 +00:00
rocky
65e8f2ce29 get_media_changed is static and shouldn't be compiled unless we are on
FreeBSD.
2007-12-30 16:15:21 +00:00
rocky
5afb39d0c1 Remove possible buffer overrun when long joliet names are used.
Savannah Bug #21910.
2007-12-30 15:09:00 +00:00
rocky
05a512cfaa Build outside of source fixes for TEST. We're in 0.80 land now. 2007-12-28 02:11:01 +00:00
rocky
d9469c2d77 Add get_media_changed method on FreeBSD for drives accessed via CAM (SCSI or ATAPICAM).
Patch thanks to Andriy Gapon.
2007-12-28 01:01:05 +00:00
rocky
ddf569dbea Apply kfreebsd patch from Debian. 2007-12-15 22:36:35 +00:00
rocky
9de6b551d4 Another reference to IEC 60908. Update copyright and email 2007-12-10 10:08:46 +00:00
rocky
b461302752 Add mention of IEC 60908 2007-12-10 10:03:17 +00:00
rocky
8ab252d508 Add wiki reference to the Philips Red Book. 2007-12-10 09:01:08 +00:00
rocky
8e48c0ad7f Run a Multimedia command (MMC) specifying the CDB length.
The motivation here is for example ot use in is an undocumented
debug command for LG drives (namely E7), whose length is being
miscalculated by mmc_get_cmd_len(); it doesn't follow the usual
code number to length conventions. Patch supplied by SukkoPera.
2007-11-21 03:01:58 +00:00
flameeyes
efab9a09c9 Add missing include (for GCC 4.3). Patch by Ryan Hill (dirtyepic at gentoo).
Patch #6271 at Savannah.
2007-11-19 19:32:11 +00:00
flameeyes
07f4dffc71 Don't try to use a generic rule for building usage.h or it will fail make distcheck when builddir != srcdir 2007-11-17 11:58:27 +00:00
flameeyes
4394fdac61 Fix logic. 2007-11-16 22:50:21 +00:00
flameeyes
7c82ace826 Fix name of function. 2007-11-16 22:44:57 +00:00
flameeyes
d9c5a8094e Fix typo. 2007-11-16 22:29:07 +00:00
flameeyes
baee3b5dad Don't compile the test programs during make all, make check will take care of that. 2007-11-16 22:29:01 +00:00
flameeyes
a81742c171 Fix make dist when run on $builddir != $srcdir. 2007-11-16 22:26:46 +00:00
flameeyes
615b485d38 check_common_fn is in the current dir (build dir), not in $srcdir. 2007-11-16 22:25:08 +00:00
flameeyes
88e72ac231 Don't install the cdparanoia headers when cd-paranoia is not built nor installed. 2007-11-16 21:52:08 +00:00
flameeyes
cfd38185bf Do not install the libcdio_paranoia.pc and libcdio_cdda.pc files if cd-paranoia is not built.
If we do, the pkg-config based checks will report the presence of libraries that are not present in the system.
2007-11-16 21:49:20 +00:00
flameeyes
ab133c5fc5 Do not assume that sizeof(int) == sizeof(long), the assumption is wrong on 64-bit arches. Reduce the size of strtol range when filling a struct tm variable. 2007-11-16 21:46:11 +00:00
flameeyes
00b3c309ef Include config.h before checking for HAVE_JOLIET or it will never build the function. 2007-11-16 21:31:53 +00:00
flameeyes
a9d358af67 Unbreak --enable/--disable joliet support. Use AS_HELP_STRING to pretty-print the help message. 2007-11-16 13:52:55 +00:00
rocky
d03584ab42 Apparently cygwin's perl sometimes puts in \r's for linefeeds.
Patch from Gary Parks.
2007-11-09 01:25:04 +00:00
rocky
83fb5978bf Final 0.79 release 2007-10-27 04:02:36 +00:00
rocky
4227500560 Update copyright. 2007-10-21 21:57:09 +00:00
rocky
728ba72929 jp -> ja 2007-10-17 03:12:14 +00:00
rocky
4759107d7c libcdio cdparanoia doing the wrong thing on a single-sector read. Savannah patch #5999. 2007-10-16 15:32:02 +00:00
rocky
40c531fed9 Remove := in Makefiles for portability.
autoconf 1.10 complains about adding AM_PROC_CC_C_O - pander to it.
2007-10-15 04:53:59 +00:00
rocky
eb8a5388ad Go over shared library revision numbers and NEWS in advance of a Oct 27 0.79 release. 2007-10-13 08:42:57 +00:00
rocky
ad29b3b4c5 Ooops - typedef typo 2007-09-28 12:10:55 +00:00
rocky
cddf780736 paranoia.h, p_block.c: Add paranoia_set_range and correct #define in paranoia.h
common_interface.c: try to give credit where it is due.
2007-09-28 12:09:38 +00:00
rocky
a3b8f5fc70 Add Patrick Guimond 2007-09-28 11:30:31 +00:00
rocky
4e284bcac0 Not just lead-out gap, but lead-out + pregap 2007-09-28 00:28:18 +00:00
rocky
b6aa3db584 Support for multisession CD Extra Discs courtesy of Patrick
Guimond.

testiso9660.c: remove ltime comparison check. :-(
2007-09-28 00:25:43 +00:00
rocky
f817761954 iso9660_open_ext_private(): close image filecupon error.
Leds to an open file descriptor making it impossible of
e.g. unmounting a CDROM containing the file. Savannah bug #21147.
2007-09-26 05:30:15 +00:00
rocky
8734346d8d iso9660.c: off-by-one bug which was causing dates to come out
wrong. Thanks to Nicolas Boullis for finding and fixing.

iso9660_fs.c: remove bugs merging code from the last round of
changes/enhancements

check_common_fn.in: show full iso_read command when it fails.
2007-09-05 11:17:36 +00:00
rocky
962b6ca3c5 Yet another program, yet another ignore 2007-08-12 12:42:16 +00:00
rocky
a33bb59a7f iso9660_fs.c: remove some (but not all) of the redundancy
testisocd2.c.in: a test of working with an ISO 9660 image.
2007-08-12 12:41:10 +00:00
rocky
2a01d008fc iso9660_fs.c: remove some bugs in freeing here.
isolsn.c: Add a sample program for showing the path for given LSN.
2007-08-12 00:56:09 +00:00
rocky
de2c6a18ae Add iso9660_fs_find_lsn_with_path and iso9660_ifs_find_lsn_with_path to report the full filename path of lsn. 2007-08-11 16:26:14 +00:00
flameeyes
bba9e0eb8b Workaround a missing callback, failures are called immediately, sucesses are queued and might not be called properly. 2007-08-11 12:28:25 +00:00