11
2
I've just digitized a couple of LPs and needed some cover art. My scanner isn't big enough to scan the album so I searched for and downloaded the images off the net.
When I did so Avast reported that one of them contained the "Win32:Hupigon-ONX" trojan and immediately quarantined it. Not wishing to take any chances I downloaded a different copy which reported as clean.
Now was this just a false positive from Avast or could there really have been a trojan in the jpg?
If there was how would it get executed?
I must admit that this aspect of trojans and viruses has always baffled me. As a software developer I've always checked length of arrays etc. so I don't see why things like buffer overruns should occur. I understand that people do cut corners and make mistakes and if the software is complex enough these errors can slip through.
@Zabba what I meant was that I "code the program to check" when processing data. – ChrisF – 2015-10-21T11:47:55.903
I know they happen - it's just it's one of the basic checks I've always done when processing data - check I've got/allocated enough space for the data. – ChrisF – 2010-07-07T10:01:56.407
@ChrisF, the fact that you need to ensure that you check (as opposed to the "computer" is the problem itself. – Zabba – 2010-08-21T07:58:58.717