annotate dvdread/ifo_print.h @ 282:918fe20358cb src

replaced sequency of strncpy() and strncat() by 1 snprintf() and fixed off-by-1 possible buffer oveflow; patch by Diego Petteno'
author nicodvb
date Wed, 18 Apr 2007 22:36:58 +0000
parents 9b1b740e3fc9
children dad6705c9daf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
225
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
1 /*
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
2 * This program is free software; you can redistribute it and/or modify
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
3 * it under the terms of the GNU General Public License as published by
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
4 * the Free Software Foundation; either version 2 of the License, or
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
5 * (at your option) any later version.
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
6 *
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
7 * This program is distributed in the hope that it will be useful,
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
10 * GNU General Public License for more details.
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
11 *
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
12 * You should have received a copy of the GNU General Public License
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
13 * along with this program; if not, write to the Free Software
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
14 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
15 *
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
16 * $Id$
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
17 *
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
18 */
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
19
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
20 #ifndef IFO_PRINT_H_INCLUDED
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
21 #define IFO_PRINT_H_INCLUDED
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
22
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
23 #include <inttypes.h>
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
24 #ifdef DVDNAV_COMPILE
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
25 # include "ifo_types.h"
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
26 #else
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
27 # include <dvdnav/ifo_types.h> /* Only for vm_cmd_t */
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
28 #endif
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
29
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
30 void ifo_print(dvd_reader_t *dvd, int title);
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
31
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
32 #endif /* IFO_PRINT_H_INCLUDED */
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
33
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
34 /*
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
35 * $Log$
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
36 * Revision 1.1 2004/01/11 21:43:13 mroi
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
37 * big build system changes
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
38 * * cleaned up all Makefiles and added a Makefile.common
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
39 * * added relchk script
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
40 * * moved libdvdread files to a dvdread subdir
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
41 * * moved DVD VM to a vm subdir
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
42 * * removed unused code in read_cache.c
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
43 *
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
44 * Revision 1.4 2004/01/01 15:13:13 jcdutton
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
45 * Put ifo_print.c and .h back in.
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
46 *
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
47 * Revision 1.2 2003/04/28 15:17:17 jcdutton
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
48 * Update ifodump to work with new libdvdnav cvs, instead of needing libdvdread.
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
49 *
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
50 * Revision 1.1.1.1 2002/08/28 09:48:35 jcdutton
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
51 * Initial import into CVS.
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
52 *
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
53 *
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
54 *
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
55 */
9b1b740e3fc9 big build system changes
mroi
parents:
diff changeset
56