Bash-4.3 patch 35
This commit is contained in:
@@ -78,13 +78,15 @@ stub_charset ()
|
|||||||
s = strrchr (locale, '.');
|
s = strrchr (locale, '.');
|
||||||
if (s)
|
if (s)
|
||||||
{
|
{
|
||||||
strcpy (charsetbuf, s+1);
|
strncpy (charsetbuf, s+1, sizeof (charsetbuf) - 1);
|
||||||
|
charsetbuf[sizeof (charsetbuf) - 1] = '\0';
|
||||||
t = strchr (charsetbuf, '@');
|
t = strchr (charsetbuf, '@');
|
||||||
if (t)
|
if (t)
|
||||||
*t = 0;
|
*t = 0;
|
||||||
return charsetbuf;
|
return charsetbuf;
|
||||||
}
|
}
|
||||||
strcpy (charsetbuf, locale);
|
strncpy (charsetbuf, locale, sizeof (charsetbuf) - 1);
|
||||||
|
charsetbuf[sizeof (charsetbuf) - 1] = '\0';
|
||||||
return charsetbuf;
|
return charsetbuf;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -25,6 +25,6 @@
|
|||||||
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
|
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
|
||||||
looks for to find the patch level (for the sccs version string). */
|
looks for to find the patch level (for the sccs version string). */
|
||||||
|
|
||||||
#define PATCHLEVEL 34
|
#define PATCHLEVEL 35
|
||||||
|
|
||||||
#endif /* _PATCHLEVEL_H_ */
|
#endif /* _PATCHLEVEL_H_ */
|
||||||
|
|||||||
Reference in New Issue
Block a user