/[gentoo-projects]/pax-utils/xfuncs.c
Gentoo

Log of /pax-utils/xfuncs.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 20 07:52:07 2014 UTC (6 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +6 -2 lines
Diff to previous 1.11
fix possible memory read errors when walking arrays

the current code will always fetch the arr->eles[n] in array_for_each before doing the n < arr->num check.  gcc might optimize it such that the read occurs rather than delaying it until after the loop limit check, but it also might not.  at any rate, ASAN catches it and complains mightly.  this new method ends up wasting 1 pointer worth of memory, but we wont worry about 4 or 8 bytes per array as this code is not that critical.


Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 4 07:26:24 2012 UTC (22 months, 2 weeks ago) by vapier
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10
update copyright years


Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 27 18:37:22 2011 UTC (2 years, 11 months ago) by vapier
Branch: MAIN
Changes since 1.9: +41 -1 lines
Diff to previous 1.9
allow people to search for multiple libraries (-N) or data sections (-k)


Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 13 23:27:12 2010 UTC (4 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.8: +6 -2 lines
Diff to previous 1.8
make sure we initialize new string memory


Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 13 23:17:45 2010 UTC (4 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7
use %zu for size_t instead of casting to random long types


Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 3 04:15:54 2009 UTC (4 years, 9 months ago) by vapier
Branch: MAIN
Changes since 1.6: +1 -27 lines
Diff to previous 1.6
dont need strndup code anymore


Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 1 10:15:06 2009 UTC (4 years, 9 months ago) by vapier
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5
allow xstrcat to start off with a NULL destination


Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 31 18:02:13 2009 UTC (5 years, 7 months ago) by grobian
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4
c&p error


Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 31 17:58:37 2009 UTC (5 years, 7 months ago) by grobian
Branch: MAIN
Changes since 1.3: +27 -1 lines
Diff to previous 1.3
For bug #249731, add an xstrndup wrapper, and implement strndup on hosts that don't have it, based on the strndup implementation of sandbox, with a little change to make it C90 compliant.


Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 13:00:29 2008 UTC (5 years, 8 months ago) by vapier
Branch: MAIN
Changes since 1.2: +1 -7 lines
Diff to previous 1.2
drop local func decls as we already include xfuncs.h and get them


Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 12:58:08 2008 UTC (5 years, 8 months ago) by vapier
Branch: MAIN
Changes since 1.1: +7 -1 lines
Diff to previous 1.1
declare xzalloc()


Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 25 02:30:55 2007 UTC (7 years ago) by vapier
Branch: MAIN
add missing split xfuncs files


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Sticky Tag:

  ViewVC Help
Powered by ViewVC 1.1.20