summaryrefslogtreecommitdiff
path: root/build/rpmspec.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-06-13 19:00:40 +0000
committerjbj <devnull@localhost>2000-06-13 19:00:40 +0000
commitc61fac02fcc0a9d5ecf446e993f972026d5efb27 (patch)
treeed5c86aa4eade16f1aec8cfd8d7f8793209331c9 /build/rpmspec.h
parentecde0bb1ad67866af4a03f44b085940e5a07d140 (diff)
downloadlibrpm-tizen-c61fac02fcc0a9d5ecf446e993f972026d5efb27.tar.gz
librpm-tizen-c61fac02fcc0a9d5ecf446e993f972026d5efb27.tar.bz2
librpm-tizen-c61fac02fcc0a9d5ecf446e993f972026d5efb27.zip
Avoid "Target buffer overflow" with larger macro expansions.
CVS patchset: 3841 CVS date: 2000/06/13 19:00:40
Diffstat (limited to 'build/rpmspec.h')
-rw-r--r--build/rpmspec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/rpmspec.h b/build/rpmspec.h
index 57bfa821b..aa4ceccbd 100644
--- a/build/rpmspec.h
+++ b/build/rpmspec.h
@@ -106,7 +106,7 @@ struct SpecStruct {
/*@owned@*/ struct spectags *st;
/*@owned@*/ struct OpenFileInfo *fileStack;
- char lbuf[BUFSIZ];
+ char lbuf[4*BUFSIZ];
char nextpeekc;
/*@dependent@*/ char *nextline;
/*@dependent@*/ char *line;