Hi On Sun, Sep 17, 2017 at 04:16:13PM -0400, Ronald S. Bultje wrote: > Hi, > > On Sat, Sep 16, 2017 at 8:42 PM, Michael Niedermayer <mich...@niedermayer.cc > > wrote: > > > + if (get_bits_left(&s->gb) < 0) { > > + av_log(s->avctx, AV_LOG_ERROR, > > + "Insufficient bits left at %d %d\n", s->mb_x, s->mb_y); > > + return AVERROR_INVALIDDATA; > > + } > > > We've talked about this before, av_log(AV_LOG_ERROR) is not appropriate for > such terse and unhelpful messages that really only apply to fuzz-broken > files...
We talked about this before. And we disagree on almost everything certainly the implied assumptions you repeat here. Also i must say i really would prefer to work on the code without these debates. I maintain the code in question here, can people not just let me maintain the code ... IIRC, previously you wanted "All" these error messages removed from the binary. Your statement above now leaves it more wide open how to resolve it But if you still want them removed from the binary, then my reply is still the same Iam happy to follow what the community prefers. I have seen no evidence that theres a majority preferring to remove all error messages for errors that have been found by help of automated fuzzers. Ive seen 3 or 4 people complaining about error messages and ive seen people working on fixing security issues (not just me) disagreeing when they where told to remove messages. I may be wrong but i suspect the "hardline" total removal has few people supporting it. Especially outside FFmpeg and the projects surrounding it. Ive not seen this radical viewpoint elsewhere. Detailed error messages are valuable If OTOH what you suggest now (you did after all not state it clearly in your reply) is litterally just changing away from a terse av_log(AV_LOG_ERROR) message. I certainly can try to improve the error message, make it clearer and more verbose. Thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Never trust a computer, one day, it may think you are the virus. -- Compn
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel