[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25024: Bug in Sort

From: Marcel Böhme
Subject: bug#25024: Bug in Sort
Date: Fri, 25 Nov 2016 14:18:01 +0800

Dear all,

The following execution is flagged by UBSAN as undefined behaviour:

$ echo 0 > a; printf "%0.s0" {1..58} >> a
$ ./sort -R a

UBSAN says:
../lib/md5.c:371:7: runtime error: load of misaligned address 0x7ffdfd45a10d 
for type 'const uint32_t', which requires 4 byte alignment 

So, the root cause might actually be in GNULIB. The bug was found with AFLFast, 
a fork of AFL.

Best regards,
- Marcel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]