alco / alco/psdump

fix/psd_parser_deep_nesting

オープン
#4 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C
スター
84
フォーク
22
PR マージ指標
30日以内にマージされた PR はありません

説明

Section divider setting sometime has 16 byte code length

code to fix this bug

```

if(size >= 12)
{
// Signature: '8BIM'
if(psd_stream_get_int(context) != '8BIM')
return psd_status_divider_signature_error;

// blend mode
layer->divider_blend_mode = psd_stream_get_blend_mode(context);
}

// Following is only present if length == 16
if( size == 16 )
{
//Sub type. 0 = normal, 1 = scene group, affects the animation timeline.
int divider_animation_timeline_mode = psd_stream_get_int( context );

layer->divider_animation_timeline_mode = divider_animation_timeline_mode;
}
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。