]> Savannah Git Hosting - m4.git/commitdiff

Savannah Git Hosting - m4.git/commitdiff

git git@sv / m4.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 20fed4b)
maint: test bad format string crash.
2010年8月30日 18:08:47 +0000 (12:08 -0600)
2013年9月17日 13:38:53 +0000 (20:38 +0700)
* doc/m4.texi (Format): Add a test.

Signed-off-by: Eric Blake <eblake@redhat.com>

diff --git a/doc/m4.texi b/doc/m4.texi
index 5a31eec8455085393a0ec954062529fdcd8ae6ed..bc2fccafa9093ea0715b436165303ac3eaa5a516 100644 (file)
--- a/doc/m4.texi
+++ b/doc/m4.texi
@@ -7522,6 +7522,18 @@ format(`%.1f', `2a')
@result{}2.0
@end example
+@ignore
+@comment Expose a crash with a bad format string fixed in 1.4.15.
+@comment Unfortunately, 8-bit bytes are hard to check for; but the
+@comment exit status is enough to sniff the crash in broken versions.
+
+@comment xerr: ignore
+@example
+format(`%'format(`%c', `128'))
+@result{}
+@end example
+@end ignore
+
@node Arithmetic
@chapter Macros for doing arithmetic
GNU M4 source repository
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /