Menu

#3 not work with long filenames

open
nobody
None
5
2010-03-26
2010-03-26
Daniel
No

hi,

big thangs for the small tool !

i use it via login-hook and uplad a scrrenshot via curl/ftp.

but i have a problem with long file names.

this work:
20100326_194823_login.avi

but if i want to add a hostname+username of the machine, like this:

xaarrs-iMac.local.-.xaarr.-.20100326_200154_login.avi

it fail. It creates a filename like this:

xaarrs-iMac.local.-#FFFFFFFF.avi

Buffer overflow ???

The problem is only on videos - pictures work fine.

And the binary brings error msgs:

Error: SGPrepare failed (-43).
Error: SGStartRecord failed.
Error: SGStop failed (-9402).

(and ffmpeg can not convert the produced videos, but this is an other problem.)

best regards,
x

Discussion


Log in to post a comment.

MongoDB Logo MongoDB