logoalt Hacker News

We found a division by zero bug in FFmpeg with a vibecoded fuzzer

54 pointsby dclavijotoday at 5:53 PM32 commentsview on HN

Comments

dabinattoday at 6:04 PM

It’s interesting how AI may both raise and lower the quality of software. It’s very easy to send an AI agent on an open-ended bug hunt, and if it wastes a bunch of time and effort and finds nothing, no big deal. Time is much more important for a human developer with a salary.

show 5 replies
akshay_akulatoday at 7:02 PM

The open ended bug hunt is the best use case for these agents. Finding nothing costs a few dollars, finding a division by zero in ffmpeg pays for itself.

ks2048today at 7:11 PM

No doubt fuzzers (vibecoded or otherwise) can be powerful, but can't you just mark all "/" as potential divide by zero errors?

I guess sometimes developers think they "know" some variable won't be zero, but unless it checked explicitly or by the compiler, that shouldn't be trusted.

show 4 replies
robertlagranttoday at 7:29 PM

What we need is a numeric type that cannot be zero.

show 1 reply
12j3afAvtoday at 6:40 PM

Generating an incorrect input file seems to be the easiest task of all for any fuzzer.

Generating correct input to get deep into the call stack and then finding something is the hard part.

Suractoday at 6:39 PM

send patches

show 1 reply
VCFundedGenYertoday at 6:32 PM

The fruits of using LLMs to code. You'll waste far more time finding what it quietly and subtly wrecked than you would have if you just coded it yourself.

show 2 replies