How about:
--- macCore.c.orig 2010-03-30 17:57:02.000000000 -0700
+++ macCore.c 2010-03-30 17:58:38.000000000 -0700
@@ -688,6 +688,9 @@
/* return immediately if raw value is NULL */
if ( *rawval == NULL ) return;
+ /* Ensure that there's at least space for a terminating '\0' */
+ if ((valend == *value) || (--valend == *value)) { entry->error = TRUE; return; }
+
/* discard quotes and escapes if level is > 0 (i.e. if these aren't
the user's quotes and escapes) */
discard = ( level > 0 );
--
Eric Norum
[email protected]
- References:
- Bug in macLib Mark Rivers
- Re: Bug in macLib Andrew Johnson
- Re: Bug in macLib Eric Norum
- Navigate by Date:
- Prev:
Re: Bug in macLib Eric Norum
- Next:
RE: Bug in macLib Mark Rivers
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
<2010>
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
- Navigate by Thread:
- Prev:
Re: Bug in macLib Eric Norum
- Next:
RE: Bug in macLib Mark Rivers
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
<2010>
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
|