Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Ticket #329 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

SvnQt wrapper is not binary-compatible with Subversion libraries

Reported by: bugs@… Owned by: alwin
Priority: high Milestone: not applicable
Component: SvnQt Wrapper Version: 0.14.x
Severity: major Keywords:
Cc:

Description

SvnQt? wrapper makes a direct instance of the svn_client_ctx_t Subversion structure in svn::ContextData:

http://kdesvn.alwins-world.de/trac.fcgi/browser/trunk/src/svnqt/contextdata.hpp?rev=1361#L267

And it is initialized manually, without using the proper function provided for that purpose:

http://kdesvn.alwins-world.de/trac.fcgi/browser/trunk/src/svnqt/contextdata.cpp?rev=1361#L155

As stated in Subversion documentation, this structure is not intended to be directly instantiated, it should always be used as a pointer, since its size may change between versions.

 http://svn.collab.net/svn-doxygen/structsvn__client__ctx__t.html#_details  http://svn.collab.net/svn-doxygen/group__clnt__ctx.html#ga1

This happened right now in Subversion 1.5.0: svn_client_ctx_t structure grew in size, covering other fields of svn::ContextData. This causes kdesvn to behave incorrectly until it is recompiled with the new libraries (and kdesvn compilation is broken with svn 1.5.0).

Attachments

Change History

comment:1 Changed 5 years ago by alwin

  • Status changed from new to assigned

Oops. Longterm error got from origin lib. I'll fix it ASAP (and build problems with svn 1.5, too)

comment:2 Changed 5 years ago by alwin

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in subversion-15 branched up to revision r1366 and in trunk at r1367

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.

Ihr Browser versucht gerade eine Seite aus dem sogenannten Internet auszudrucken. Das Internet ist ein weltweites Netzwerk von Computern, das den Menschen ganz neue Möglichkeiten der Kommunikation bietet.

Da Politiker im Regelfall von neuen Dingen nichts verstehen, halten wir es für notwendig, sie davor zu schützen. Dies ist im beidseitigen Interesse, da unnötige Angstzustände bei Ihnen verhindert werden, ebenso wie es uns vor profilierungs- und machtsüchtigen Politikern schützt.

Sollten Sie der Meinung sein, dass Sie diese Internetseite dennoch sehen sollten, so können Sie jederzeit durch normalen Gebrauch eines Internetbrowsers darauf zugreifen. Dazu sind aber minimale Computerkenntnisse erforderlich. Sollten Sie diese nicht haben, vergessen Sie einfach dieses Internet und lassen uns in Ruhe.

Die Umgehung dieser Ausdrucksperre ist nach §95a UrhG verboten.

Mehr Informationen unter www.politiker-stopp.de.