OSDN Git Service
(root)
/
swfed
/
swfed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d26da0
)
fixed to case no null terminate in swf action record.
author
yoya
<yoya@awm.jp>
Wed, 11 Dec 2013 17:39:17 +0000
(
02:39
+0900)
committer
yoya
<yoya@awm.jp>
Wed, 11 Dec 2013 17:39:17 +0000
(
02:39
+0900)
src/swf_action.c
patch
|
blob
|
history
diff --git
a/src/swf_action.c
b/src/swf_action.c
index
c227456
..
1011486
100644
(file)
--- a/
src/swf_action.c
+++ b/
src/swf_action.c
@@
-223,7
+223,7
@@
swf_action_list_create(void) {
int
swf_action_list_parse(bitstream_t *bs, swf_action_list_t *action_list) {
swf_action_t *action;
- while (
1
) {
+ while (
bitstream_hasnext(bs, 1, 0)
) {
action = calloc(sizeof(*action), 1);
if (action == NULL) {
fprintf(stderr, "Can't alloc memory for action\n");