alco / alco/psdump

fix/psd_parser_deep_nesting

Abierto
#4 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C
Estrellas
84
Forks
22
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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;
}
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.