Skip to content

Conversation

@Cycloctane
Copy link

time_frame_to_mmssff function in src/lib/time.c has buffer overflow issue. This pr adds range checks to make mm:ss:ff fit in 8 chars. Also replaces sprintf with snprintf.

Reproduce: cueconvert crashes when parsing below file:

FILE "COCC-18150.wav" WAVE
  TRACK 01 AUDIO
    INDEX 01 11111111:00:00

make mm:ss:ff fit exactly in 8 chars
replace sprintf with snprintf
@Cycloctane
Copy link
Author

@svend Have a look ? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant