diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2016-10-08 01:27:41 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2016-10-08 01:27:41 +0000 |
commit | 0c9aebb26a16ad3acc69b2e87ffd216d43879cb6 (patch) | |
tree | 7ab039b6b189f24fafbb8126a299a4ac8910d131 /textlist.h | |
parent | Prevent global-buffer-overflow write in formUpdateBuffer (diff) | |
download | w3m-0c9aebb26a16ad3acc69b2e87ffd216d43879cb6.tar.gz w3m-0c9aebb26a16ad3acc69b2e87ffd216d43879cb6.zip |
Treat table height as int instead of short
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838952
Diffstat (limited to '')
-rw-r--r-- | textlist.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -14,7 +14,7 @@ typedef struct _listitem { typedef struct _generallist { ListItem *first; ListItem *last; - short nitem; + int nitem; } GeneralList; extern ListItem *newListItem(void *s, ListItem *n, ListItem *p); @@ -36,7 +36,7 @@ typedef struct _textlistitem { typedef struct _textlist { TextListItem *first; TextListItem *last; - short nitem; + int nitem; } TextList; #define newTextList() ((TextList *)newGeneralList()) @@ -62,7 +62,7 @@ typedef struct _textlinelistitem { typedef struct _textlinelist { TextLineListItem *first; TextLineListItem *last; - short nitem; + int nitem; } TextLineList; extern TextLine *newTextLine(Str line, int pos); |