Re: mysql problems - bugfix?


From: Amon Ott <ao@rsbac.org>
Subject: Re: mysql problems - bugfix?
Date: Tue, 17 Apr 2001 17:39:17 +0200

Next Article (by Date): AVC in RSBAC Stanislav Ievlev
Previous Article (by Date): New setreuid() and setresuid() logic Stanislav Ievlev
Top of Thread: Re: mysql problems - bugfix? Amon Ott
Articles sorted by: [Date] [Author] [Subject]


--Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD
Content-Type: text/plain
Content-Transfer-Encoding: 8bit

On Die, 17 Apr 2001 Bencsath Boldizsar wrote:
> > 
> > Congratulation: You triggered an RSBAC bug, which only happens if addrlen >
> > sizeof(struct sockaddr). :(
> > 
> > I just fixed this memory allocation bug, but I will need it tested before
> > making an official bugfix. Patch to net/socket.c is attached.
> > 
> 
> Checked with syslog, the patch seems to be workable. Nothing weird
> happened...

Unfortunately, the patch was not correct. I uploaded the attached bugfix as
bugfix #2 for v1.1.1. Please use that one, the other might copy data to
wrong locations...

Amon.
--Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD
Content-Type: text/x-c;
  name="rsbac-bugfix-v1.1.1-2.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="rsbac-bugfix-v1.1.1-2.diff"

LS0tIGxpbnV4LTIuNC4zLXJzYmFjLTEuMS4xL25ldC9zb2NrZXQuYy5vcmlnCU1vbiBBcHIgIDIg
MDk6NTc6MzIgMjAwMQorKysgbGludXgtMi40LjMtcnNiYWMtMS4xLjEvbmV0L3NvY2tldC5jCVR1
ZSBBcHIgMTcgMTc6MzM6MTAgMjAwMQpAQCAtMTIwOCwxNiArMTIwOCwxNiBAQAogI2lmZGVmIENP
TkZJR19SU0JBQ19ORVQKIAkJCXVuaW9uIHJzYmFjX3RhcmdldF9pZF90CQlyc2JhY190YXJnZXRf
aWQ7CiAJCQl1bmlvbiByc2JhY190YXJnZXRfaWRfdAkJcnNiYWNfbmV3X3RhcmdldF9pZDsKLQkJ
CXVuaW9uIHJzYmFjX2F0dHJpYnV0ZV92YWx1ZV90IHJzYmFjX2F0dHJpYnV0ZV92YWx1ZTsKLQkJ
CXN0cnVjdCBzb2NrYWRkciByc2JhY19zb2NrYWRkcjsKKwkJCXVuaW9uIHJzYmFjX2F0dHJpYnV0
ZV92YWx1ZV90ICAgcnNiYWNfYXR0cmlidXRlX3ZhbHVlOworCQkJICAgICAgY2hhciAgICAgICAg
ICAgICAgICAgICAgICByc2JhY19zb2NrYWRkcltNQVhfU09DS19BRERSXTsKIAogCQkJaWYgKHJz
YmFjX2RlYnVnX2FlZikKIAkJCQlwcmludGsoS0VSTl9ERUJVRwogCQkJCQkgICAic3lzX2JpbmQo
KSBbc3lzX3NvY2tldGNhbGwoKV06IGNhbGxpbmcgQURGXG4iKTsKIAkJCXJzYmFjX3RhcmdldF9p
ZC5pcGMudHlwZSA9IElfc29jazsKIAkJCXJzYmFjX3RhcmdldF9pZC5pcGMuaWQuc29jayA9IHNv
Y2stPnNrOwotCQkJbWVtY3B5KCZyc2JhY19zb2NrYWRkciwgYWRkcmVzcywgYWRkcmxlbik7Ci0J
CQlyc2JhY19hdHRyaWJ1dGVfdmFsdWUuc29ja2FkZHJfcCA9ICZyc2JhY19zb2NrYWRkcjsKKwkJ
CW1lbWNweShyc2JhY19zb2NrYWRkciwgYWRkcmVzcywgYWRkcmxlbik7CisJCQlyc2JhY19hdHRy
aWJ1dGVfdmFsdWUuc29ja2FkZHJfcCA9IChzdHJ1Y3Qgc29ja2FkZHIgKikgcnNiYWNfc29ja2Fk
ZHI7CiAJCQlpZighcnNiYWNfYWRmX3JlcXVlc3QoUl9SRUFEX1dSSVRFX09QRU4sCiAJCQkJCQkg
IGN1cnJlbnQtPnBpZCwKIAkJCQkJCSAgVF9JUEMsCg==

--Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD--
-
To unsubscribe from the rsbac list, send a mail to
majordomo@rsbac.org with
unsubscribe rsbac
as single line in the body.

Next Article (by Date): AVC in RSBAC Stanislav Ievlev
Previous Article (by Date): New setreuid() and setresuid() logic Stanislav Ievlev
Top of Thread: Re: mysql problems - bugfix? Amon Ott
Articles sorted by: [Date] [Author] [Subject]


Go to Compuniverse LWGate Home Page.