Closed aparcar closed 5 years ago
The full code around that is here https://github.com/aparcar/openwrt/pull/1
Hi!
From the glibc error message it might be a double free, a free of something not on the heap or at worst a buffer overrun somewhere.
Perhaps compiling with ASAN and using a debugger might provide some more insight.
Do you know what the difference with this one is? Some obscure hardlink constructs?
I just launched a build of your OpenWRT tree with default config, so I can look into it on my end too.
I'm very unfamiliar with C debugging, I'm afraid I can't be much of a help here...
Does applying the patch below help?
https://infraroot.at/pub/squashfs/patches-0.6.1/0001-Fix-safe-string-allocation-wrapper.patch
Works now
Please add another tag like 0.6.2 and I'll update the OpenWrt package
I'd rather not create another patch level release for a pre-1.0.0 version that is about to be superseded by the next minor version release soon[ish]. Especially for a single line change.
One option would be using the official release tarballs from here and applying a patch in the package build script.
In contrast to the github tarballs, those also don't need you to run autoreconf.
If it helps, I created a branch called fixes-0.6.1 where I back-ported the patch. But again, going forward that's something I'd rather continue doing after 1.0.0.
No problem, the OpenWrt build system supports both autoreconf and applying patches automatically.
I'm trying to integrate this in OpenWrt but get this (not very verbose) error. It worked previously on other folders. What other information can I provide?