Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Apr 2019 04:44:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 236937] libxo =xml Segmentation fault with a huge string (>30000)
Message-ID:  <bug-236937-227-Yjvn1yDzil@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236937-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236937-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236937

--- Comment #2 from Alfonso S. Siciliano <alfix86@gmail.com> ---
Thank you for your comment,

% sysctl -n debug.witness.fullgraph > oid-only-value.txt

The output is:
https://gitlab.com/alfix/nsysctl/blob/master/oid-only-value.txt
Raw:
https://gitlab.com/alfix/nsysctl/raw/master/oid-only-value.txt
(I' ll send an email, too)

The output of the drive:

% cc huge-string.c -o huge-string -lxo

% ./huge-string --libxo=3Dtext,pretty oid-only-value.txt=20
3476034760

% ./huge-string --libxo=3Dxml,pretty oid-only-value.txt
<valuelen>34760</valuelen>
Segmentation fault (core dumped)

Regards,
Alfonso

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236937-227-Yjvn1yDzil>